diff --git a/Packages.props b/Packages.props index 769d378..01f7edc 100644 --- a/Packages.props +++ b/Packages.props @@ -2,6 +2,7 @@ + @@ -29,10 +30,10 @@ - + - + diff --git a/examples/Packages.props b/examples/Packages.props index 5326166..d58732e 100644 --- a/examples/Packages.props +++ b/examples/Packages.props @@ -5,7 +5,7 @@ - - + + \ No newline at end of file diff --git a/src/Storage/Vertex.Storage.Linq2db/Db/EventDb.cs b/src/Storage/Vertex.Storage.Linq2db/Db/EventDb.cs index dabdf1a..aa49972 100644 --- a/src/Storage/Vertex.Storage.Linq2db/Db/EventDb.cs +++ b/src/Storage/Vertex.Storage.Linq2db/Db/EventDb.cs @@ -1,5 +1,7 @@ using LinqToDB; using LinqToDB.Data; +using LinqToDB.Mapping; + using Vertex.Storage.Linq2db.Entities; namespace Vertex.Storage.Linq2db.Db @@ -9,7 +11,7 @@ public class EventDb : DataConnection public EventDb(string name) : base(name) { - this.MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => + MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => { entityDescriptor.TableName = entityDescriptor.TableName.ToLower(); foreach (var entityDescriptorColumn in entityDescriptor.Columns) diff --git a/src/Storage/Vertex.Storage.Linq2db/Db/SnapshotDb.cs b/src/Storage/Vertex.Storage.Linq2db/Db/SnapshotDb.cs index 6c0881a..2547813 100644 --- a/src/Storage/Vertex.Storage.Linq2db/Db/SnapshotDb.cs +++ b/src/Storage/Vertex.Storage.Linq2db/Db/SnapshotDb.cs @@ -1,5 +1,7 @@ using LinqToDB; using LinqToDB.Data; +using LinqToDB.Mapping; + using Vertex.Storage.Linq2db.Entities; namespace Vertex.Storage.Linq2db.Db @@ -9,7 +11,7 @@ public class SnapshotDb : DataConnection public SnapshotDb(string name) : base(name) { - this.MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => + MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => { entityDescriptor.TableName = entityDescriptor.TableName.ToLower(); foreach (var entityDescriptorColumn in entityDescriptor.Columns) diff --git a/src/Storage/Vertex.Storage.Linq2db/Db/SubSnapshotDb.cs b/src/Storage/Vertex.Storage.Linq2db/Db/SubSnapshotDb.cs index e4bbd6f..86fa6bd 100644 --- a/src/Storage/Vertex.Storage.Linq2db/Db/SubSnapshotDb.cs +++ b/src/Storage/Vertex.Storage.Linq2db/Db/SubSnapshotDb.cs @@ -1,5 +1,7 @@ using LinqToDB; using LinqToDB.Data; +using LinqToDB.Mapping; + using Vertex.Storage.Linq2db.Entities; namespace Vertex.Storage.Linq2db.Db @@ -9,7 +11,7 @@ public class SubSnapshotDb : DataConnection public SubSnapshotDb(string name) : base(name) { - this.MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => + MappingSchema.EntityDescriptorCreatedCallback = (schema, entityDescriptor) => { entityDescriptor.TableName = entityDescriptor.TableName.ToLower(); foreach (var entityDescriptorColumn in entityDescriptor.Columns)