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 (not tested with ORACLE 8 or ORACLE 9 but it should work too)
  • Samples
  • .NET 3.0 support
  • Insert/Update/Delete statements supported

Coming soon

  • Documentation
  • ODP.NET support
  • Stored Procedure
  • Distributed Transaction
  • Unit Tests
  • Instrumentation
  • Diagnostics
  • .NET 3.5 support

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

Last edited Dec 8 2008 at 6:48 AM by 41ANGELUS, version 27

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (7)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987