mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 增加 TableInfo.SetAsTable 自动分表的设置;
This commit is contained in:
@ -32,6 +32,12 @@ namespace FreeSql.Internal.Model
|
||||
public ColumnInfo AsTableColumn { get; internal set; }
|
||||
public ColumnInfo VersionColumn { get; set; }
|
||||
|
||||
public void SetAsTable(IAsTable astable, ColumnInfo column)
|
||||
{
|
||||
AsTableImpl = astable;
|
||||
AsTableColumn = column;
|
||||
}
|
||||
|
||||
ConcurrentDictionary<string, TableRef> _refs { get; } = new ConcurrentDictionary<string, TableRef>(StringComparer.CurrentCultureIgnoreCase);
|
||||
|
||||
internal void AddOrUpdateTableRef(string propertyName, TableRef tbref)
|
||||
|
Reference in New Issue
Block a user