Project Description
The Linq To Oracle project provides a custom query provider for Oracle databases.
Features
- Generator from ORACLE database
- Tested with ORACLE 10g, ORACLE XE and ORACLE 11
- Samples
- .NET 3.0 support
- Insert/Update/Delete statements supported
Roadmap
- .NET 4.0 Beta 2 support with performance improvements
Coming soon
- Documentation
- ODP.NET support
- Stored Procedure
- Distributed Transaction
- Unit Tests
- Instrumentation
- Diagnostics
How to create a project
When you want that your project supports Linq To Oracle, you should :
- Place Linq Preview in Program Files,
- Modify your project file (csproj or vbproj) to set the right target. You should find something like this :
<Import Project="C:\Program Files\LINQ Preview\Misc\Linq.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
- Copy all binaries provided in the zip file in a folder that you choose,
- Reference these assemblies in your project,
- Add ProviderAttribute on your class derived from DataContext. for example :
using System.Data;
using System.Data.DLinq;
using System.Data.DLinq.OracleClient;
using BusinessEntities;
[ProviderAttribute(typeof (OracleContext))]
public partial class Repository : DataContext