Info
Version: | 1.0.0 |
Author(s): | Luiz Strobelt |
Last Update: | Monday, April 6, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/strobelt/Airy-Nhibernate-Extension |
NuGet Url: | https://www.nuget.org/packages/Strobelt.Airy.Nhibernate.Extensions |
Install
Install-Package Strobelt.Airy.Nhibernate.Extensions
dotnet add package Strobelt.Airy.Nhibernate.Extensions
paket add Strobelt.Airy.Nhibernate.Extensions
Strobelt.Airy.Nhibernate.Extensions Download (Unzip the "nupkg" after downloading)
Dependencies
- NHibernate(>= 4.0.4.4000 && < 5.0.0)
Tags
- NHibernate Composite User Type for the DateTimeOffset struct:
Allows database such as SQLite that do not natively support the DateTimeOffset data type to store it in two separate columns one for the date and time and another for the offset.
- Model Mapper static helper class:
Allows easy configuration of a mapper to apply the above DateTimeOffset Composite User Type to all properties that are of type DateTimeOffset.
Allows a mapper to be set to ignore abstract classes.
- Linq extension that allows the use of object.IsNotNull() extension method to be mapped the native database is not null check when testing for child nullable entities.