Skip to content

Commit

Permalink
实现 DefaultNameFormat 属性返回 NameFormats.Underline
Browse files Browse the repository at this point in the history
在 PostgreSQL 类中增加了 DefaultNameFormat 属性的实现,
该属性返回 NameFormats.Underline。
  • Loading branch information
Soar360 committed Sep 20, 2024
1 parent fe02796 commit 6d3f885
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions XCode/DataAccessLayer/Database/PostgreSQL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ private string ValueToSQL(Type? type, bool isNullable, object? value)
/// <summary>系统数据库名</summary>
public override String SystemDatabaseName => "postgres";

/// <inheritdoc/>
public override NameFormats DefaultNameFormat => NameFormats.Underline;

/// <summary>字符串相加</summary>
/// <param name="left"></param>
/// <param name="right"></param>
Expand Down

0 comments on commit 6d3f885

Please sign in to comment.