Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
hatami57 committed Sep 10, 2019
1 parent 103c9af commit 7626052
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DDDCommon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Company>Meteor</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<LangVersion>latest</LangVersion>
<PackageVersion>1.0.6</PackageVersion>
<PackageVersion>1.0.8</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions Infrastructure/Types/NHibernate/PostgreSqlNHibernateHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using DDDCommon.Infrastructure.Types.NHibernate.Conventions;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using FluentNHibernate.Conventions.Helpers;
using NHibernate;
using NHibernate.Dialect;
using NHibernate.Spatial.Mapping;
Expand Down Expand Up @@ -35,6 +36,7 @@ public static ISessionFactory Create(DbConfigurations dbConfigurations)
.Mappings(x =>
{
dbConfigurations1.EntityTypeAssemblies.ForEach(y => x.FluentMappings.AddFromAssembly(y));
x.FluentMappings.Conventions.Setup(y => y.Add(AutoImport.Never()));
if (dbConfigurations.UseNodaTime)
x.FluentMappings.Conventions.Add<NodaTimeConventions>();
if (dbConfigurations.UseNetTopologySuite)
Expand Down

0 comments on commit 7626052

Please sign in to comment.