NHibernate.Driver.OracleManagedDataAccessCore
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package NHibernate.Driver.OracleManagedDataAccessCore --version 1.0.0
NuGet\Install-Package NHibernate.Driver.OracleManagedDataAccessCore -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NHibernate.Driver.OracleManagedDataAccessCore" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NHibernate.Driver.OracleManagedDataAccessCore" Version="1.0.0" />
<PackageReference Include="NHibernate.Driver.OracleManagedDataAccessCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NHibernate.Driver.OracleManagedDataAccessCore --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NHibernate.Driver.OracleManagedDataAccessCore, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=NHibernate.Driver.OracleManagedDataAccessCore&version=1.0.0
#tool nuget:?package=NHibernate.Driver.OracleManagedDataAccessCore&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NHibernate.Driver.OracleManagerDataAccessCore
This repo is forked from icsharp/NHibernate.Oracle, and update to .Net Core 2.0.
Install Package
Install-Package NHibernate.Driver.OracleManagedDataAccessCore
Link to Github.com
chekhlov/NHibernate.Driver.OracleManagerDataAccessCore
Configuration samples
var assembly = Assembly.GetExecutingAssembly();
var types = assembly.GetTypes()
.Where(t => t.Namespace != null && t.Namespace.StartsWith("App.Models")) // part of namespace to mapping classes
.Where(t => !t.IsAbstract && !t.IsInterface)
.Except(ignoreTypes)
.Distinct();
var mapping = mapper.CompileMappingFor(types);
var configuration = new Configuration();
var configuration.DataBaseIntegration(x => {
x.ConnectionString = $"Data Source={Server}:{Port}/{Database};User Id={Login};Password={Password};DBA Privilege={privileges}";
x.Driver<OracleManagedDriver>();
x.ConnectionProvider<DriverConnectionProvider>();
x.Dialect<Oracle12cDialect>();
x.Timeout = 60;
x.LogSqlInConsole = true;
x.LogFormattedSql = true;
x.IsolationLevel = IsolationLevel.ReadCommitted;
});
configuration.AddAssembly(Assembly.GetExecutingAssembly());
configuration.AddMapping(mapping);
var factory = configuration.BuildSessionFactory());
var session = Factory.OpenSession();
// and now can use NHibernate and linq
var test = session.Query<App.Models.Model>()
.Where(x => x.Visible)
.OrderBy(x => x.Name)
.ToList();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- NHibernate (>= 5.2.5)
- Oracle.ManagedDataAccess.Core (>= 2.19.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NHibernate.Driver.OracleManagedDataAccessCore:
Package | Downloads |
---|---|
TrustPrevWeb.Instalação
Instalações dos pacotes para utilização do TrustPrevWeb |
GitHub repositories
This package is not used by any popular GitHub repositories.