- 增加 TableInfo.SetAsTable 自动分表的设置;

This commit is contained in:
2881099
2023-03-29 13:10:44 +08:00
parent 0de393169d
commit 5659e527ed
2 changed files with 11 additions and 0 deletions

View File

@ -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)