mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 DbContext 与 EFCore 相似的 FluentApi 对动态类型的处理;#281
This commit is contained in:
@ -80,6 +80,11 @@ namespace FreeSql.DataAnnotations
|
||||
_table._indexs.AddOrUpdate(name, idx, (_, __) => idx);
|
||||
return this;
|
||||
}
|
||||
public TableFluent IndexRemove(string name)
|
||||
{
|
||||
_table._indexs.TryRemove(name, out var oldidx);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public class TableFluent<T>
|
||||
|
Reference in New Issue
Block a user