From 323cdcd3d0046e8d2ab04ac653f5fb97c1dd7601 Mon Sep 17 00:00:00 2001 From: Jovi Date: Thu, 24 Apr 2025 10:35:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E5=8D=87=E7=BA=A7linq2db=E5=88=B05.4.?= =?UTF-8?q?1=E7=89=88=EF=BC=8C=E8=A7=A3=E5=86=B3postgress=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E4=BD=BF=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E5=8D=87=E7=BA=A7postgress=20sdk=E5=92=8Csqlclient=20?= =?UTF-8?q?sdk=E5=88=B0=E6=9C=80=E6=96=B0=E7=89=88=EF=BC=8C=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Packages.props | 2 +- examples/Packages.props | 4 ++-- src/Storage/Vertex.Storage.Linq2db/Db/EventDb.cs | 4 +++- src/Storage/Vertex.Storage.Linq2db/Db/SnapshotDb.cs | 4 +++- src/Storage/Vertex.Storage.Linq2db/Db/SubSnapshotDb.cs | 4 +++- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Packages.props b/Packages.props index 769d378..5f96034 100644 --- a/Packages.props +++ b/Packages.props @@ -32,7 +32,7 @@ - + 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) From aa6044e1511bc5088cf2a3e18890a78ff31f3baf Mon Sep 17 00:00:00 2001 From: Jovi Date: Mon, 28 Apr 2025 10:05:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:Confluent.Kafka2.6.0=E7=89=88=E6=9C=ACb?= =?UTF-8?q?roker=20might=20require=20SASL=20authentication=20bug,https://g?= =?UTF-8?q?ithub.com/confluentinc/confluent-kafka-dotnet/issues/2335?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Packages.props | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Packages.props b/Packages.props index 5f96034..01f7edc 100644 --- a/Packages.props +++ b/Packages.props @@ -2,6 +2,7 @@ + @@ -29,7 +30,7 @@ - +