mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 增加 pgsql 索引 B_Tree, Hash, GiST, GIN, SP_GiST, BRIN;
This commit is contained in:
@ -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 }
|
||||
}
|
||||
|
Reference in New Issue
Block a user