Building an Application for ODP.NET

You can use the Visual Studio IDE to build your application, or you can use the csc.exe command-line compiler executed from the Visual Studio command prompt.

The following example uses csc.exe to build the ODP.NET sample application discussed in Testing Your ODP.NET Installation with TimesTen :

C:\Build\TimesTen\quickstart\sample_code\odp.net>csc /out:DemoODP.exe 
/reference:C:\Build\ODAC1910\odp.net4\odp.net\bin\4\Oracle.DataAccess.dll DemoODP.cs

Microsoft (R) Visual C# Compiler version 3.8.0-5.20604.10 (9ed4b774)
Copyright (C) Microsoft Corporation. All rights reserved.

The location of the Oracle.DataAccess.dll assembly and dependent libraries is according to your type of Oracle product installation and version of .NET. Refer to Oracle Data Provider for .NET Developer's Guide and the ODP.NET README file for information.

Note:

Visual Studio is not a runtime requirement of ODP.NET for TimesTen, but you would need a .NET compiler, such as the C# compiler that comes with Visual Studio, to develop applications.