Getting started
Add NuGet package
All libraries that are part of the PPWCode.Vernacular.NHibernate.IV project are published on NuGet.
The following packages are available:
-
PPWCode.Vernacular.NHibernate.IV, base library
-
PPWCode.Vernacular.NHibernate.IV.DI, extension to register NHIbernate using service collection
-
PPWCode.Vernacular.NHibernate.IV.SqlServer, support for Microsoft SQL Server
-
PPWCode.Vernacular.NHibernate.IV.PostgreSQL, support for PostgreSQL
-
PPWCode.Vernacular.NHibernate.IV.Firebird, support for Firebird
-
PPWCode.Vernacular.NHibernate.IV.Test, support for NUnit integration tests with SQL Server
You can use your IDE to add the required libraries as dependencies to your project, or manually add them in the .csproj file. This would look similar to the following:
<Project Sdk="Microsoft.NET.Sdk">
<!-- ... -->
<ItemGroup>
<!-- nuget package dependencies -->
<PackageReference Include="PPWCode.Vernacular.NHibernate.IV" Version="4.0.0" />
<PackageReference Include="PPWCode.Vernacular.NHibernate.IV.SqlServer" Version="4.0.0" />
<PackageReference Include="PPWCode.Vernacular.NHibernate.IV.DI" Version="4.0.0" />
</ItemGroup>
<!-- ... -->
</Project>