milestonetg-public - MilestoneTG.NHibernate.Driver.Sqlite.Microsoft 1.0.0

A NHibernate.Driver that uses the Microsoft.Data.Sqlite ADO.Net provider for SQLite.

PM> Install-Package MilestoneTG.NHibernate.Driver.Sqlite.Microsoft -Version 1.0.0 -Source https://www.myget.org/F/milestonetg-public/api/v3/index.json

Copy to clipboard

> nuget.exe install MilestoneTG.NHibernate.Driver.Sqlite.Microsoft -Version 1.0.0 -Source https://www.myget.org/F/milestonetg-public/api/v3/index.json

Copy to clipboard

> dotnet add package MilestoneTG.NHibernate.Driver.Sqlite.Microsoft --version 1.0.0 --source https://www.myget.org/F/milestonetg-public/api/v3/index.json

Copy to clipboard
<PackageReference Include="MilestoneTG.NHibernate.Driver.Sqlite.Microsoft" Version="1.0.0" />
Copy to clipboard
source https://www.myget.org/F/milestonetg-public/api/v3/index.json

nuget MilestoneTG.NHibernate.Driver.Sqlite.Microsoft  ~> 1.0.0
Copy to clipboard

> choco install MilestoneTG.NHibernate.Driver.Sqlite.Microsoft --version 1.0.0 --source https://www.myget.org/F/milestonetg-public/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "milestonetg-public" -SourceLocation "https://www.myget.org/F/milestonetg-public/api/v2"
Install-Module -Name "MilestoneTG.NHibernate.Driver.Sqlite.Microsoft" -RequiredVersion "1.0.0" -Repository "milestonetg-public" 
Copy to clipboard

MilestoneTG.NHibernate.Driver.Sqlite.Microsoft

Build MyGet NuGet

A NHibernate SQLite driver using Microsoft.Data.Sqlite.

Configuration

Example configuration template:

<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
	<session-factory name="NHibernate.Test">
		<property name="connection.driver_class">MilestoneTG.NHibernate.Driver.Sqlite.Microsoft.MicrosoftSqliteDriver, MilestoneTG.NHibernate.Driver.Sqlite.Microsoft</property>
		<!-- DateTimeFormatString allows to prevent storing the fact that written date was having kind UTC,
		     which dodges the undesirable time conversion to local done on reads by System.Data.SQLite.
		     See https://system.data.sqlite.org/index.html/tktview/44a0955ea344a777ffdbcc077831e1adc8b77a36
		     and https://github.com/nhibernate/nhibernate-core/issues/1362 -->
		<property name="connection.connection_string">
			Data Source=nhibernate.db;
			DateTimeFormatString=yyyy-MM-dd HH:mm:ss.FFFFFFF;
		</property>
		<property name="dialect">NHibernate.Dialect.SQLiteDialect</property>
	</session-factory>
</hibernate-configuration>
  • .NETStandard 2.0
    • Microsoft.Data.Sqlite (>= 2.0.1)
    • NHibernate (>= 5.1.0)
  • .NETStandard 2.0: 2.0.0.0

Owners

Jason M Penniman

Authors

milestonetg, jpenniman

Project URL

https://github.com/milestonetg/nhibernate-sqlite

License

MIT

Info

0 total downloads
0 downloads for version 1.0.0
Download (6.11 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.0 6.11 KB Wed, 04 Apr 2018 20:09:11 GMT 0