mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 ColumnAttribute Precision/Scale 设置;
This commit is contained in:
@ -54,5 +54,11 @@ namespace FreeSql.Extensions.EfCoreFluentApi
|
||||
//{
|
||||
// return this;
|
||||
//}
|
||||
public EfCoreColumnFluent HasPrecision(int precision, int scale = 0)
|
||||
{
|
||||
_cf.Precision(precision, scale);
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user