From 6d3f8855fc65921232ff4a377d566a7a3945f8cd Mon Sep 17 00:00:00 2001 From: Soar360 Date: Fri, 20 Sep 2024 09:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=20DefaultNameFormat=20?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E8=BF=94=E5=9B=9E=20NameFormats.Underline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 PostgreSQL 类中增加了 DefaultNameFormat 属性的实现, 该属性返回 NameFormats.Underline。 --- XCode/DataAccessLayer/Database/PostgreSQL.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/XCode/DataAccessLayer/Database/PostgreSQL.cs b/XCode/DataAccessLayer/Database/PostgreSQL.cs index 2b76de475..8687dc6ed 100644 --- a/XCode/DataAccessLayer/Database/PostgreSQL.cs +++ b/XCode/DataAccessLayer/Database/PostgreSQL.cs @@ -202,6 +202,9 @@ private string ValueToSQL(Type? type, bool isNullable, object? value) /// 系统数据库名 public override String SystemDatabaseName => "postgres"; + /// + public override NameFormats DefaultNameFormat => NameFormats.Underline; + /// 字符串相加 /// ///