- 增加 pgsql 索引 B_Tree, Hash, GiST, GIN, SP_GiST, BRIN;

This commit is contained in:
2881099
2023-06-29 15:42:27 +08:00
parent bd71dfd80b
commit 7964785243
10 changed files with 95 additions and 116 deletions

View File

@ -47,5 +47,16 @@ namespace FreeSql.DataAnnotations
/// 是否唯一
/// </summary>
public bool IsUnique { get => _IsUnique ?? false; set => _IsUnique = value; }
/// <summary>
/// 索引类型<para></para>
/// 暂时只有 FreeSql.Provider.PostgreSQL 有效
/// </summary>
public IndexMethod IndexMethod { get; set; }
}
/// <summary>
/// 暂时只有 FreeSql.Provider.PostgreSQL 有效
/// </summary>
public enum IndexMethod { B_Tree, Hash, GiST, GIN, SP_GiST, BRIN }
}