Info
Version: | 1.0.1 |
Author(s): | Rafael do Livramento Silveira |
Last Update: | Wednesday, February 26, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://nuget.org/packages/NHibernate.OracleManaged |
NuGet Url: | https://www.nuget.org/packages/NHibernate.OracleManaged |
Install
Install-Package NHibernate.OracleManaged
dotnet add package NHibernate.OracleManaged
paket add NHibernate.OracleManaged
NHibernate.OracleManaged Download (Unzip the "nupkg" after downloading)
Dependencies
- NHibernate(3.3.3.4001)
- odp.net.managed(121.1.1)
Tags
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();.