Chapter 3. Connecting to Oracle with ODP.NET
You now have all the basic software set up to write your first ODP.NET application. In this chapter, you will explore the different ways to connect to an Oracle database using ODP.NET and the various connection parameters you can use to control ODP.NET behavior. Specifically, we will explore the following:
How Transparent Network Substrate (TNS) works
How you can build connection strings dynamically instead of hard-wiring them into your code
How to utilize Oracle's transparent application failover feature to build robust applications that continue to work even when database connections drop midway in your code
Connecting via TNS
Let's start this chapter by putting you right where the action is. In this section, ...
Get Pro ODP .NET for Oracle Database 11g now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.