NHibernate.OracleManaged
1.0.1
dotnet add package NHibernate.OracleManaged --version 1.0.1
NuGet\Install-Package NHibernate.OracleManaged -Version 1.0.1
<PackageReference Include="NHibernate.OracleManaged" Version="1.0.1" />
paket add NHibernate.OracleManaged --version 1.0.1
#r "nuget: NHibernate.OracleManaged, 1.0.1"
// Install NHibernate.OracleManaged as a Cake Addin #addin nuget:?package=NHibernate.OracleManaged&version=1.0.1 // Install NHibernate.OracleManaged as a Cake Tool #tool nuget:?package=NHibernate.OracleManaged&version=1.0.1
Oracle managed specific nhibernate driver.
Example using NHibernate configuration by code:
var cfg = new Configuration();
cfg.DataBaseIntegration(db => {
db.ConnectionString = @"Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=your_host)(PORT=your_port)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=your_service)));User Id=your_user;Password=your_password;";
db.Driver<NHibernate.Driver.OracleManagedDriver>();
db.Dialect<NHibernate.Dialect.Oracle10gDialect>();
db.SchemaAction = SchemaAutoAction.Validate;
});
// ...define your context and mapping...
var sessionFactory = cfg.BuildSessionFactory();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
.NETFramework 4.0
- NHibernate (>= 3.3.3.4001)
- odp.net.managed (>= 121.1.1)
GitHub repositories
This package is not used by any popular GitHub repositories.
- added how-to-use in description;