mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 优化 实体类重写属性 new 如果类型与基类不一致,无法使用的问题;
This commit is contained in:
@ -12,7 +12,7 @@ namespace FreeSql.DataAnnotations
|
||||
public TableFluent(Type entityType, TableAttribute table)
|
||||
{
|
||||
_entityType = entityType;
|
||||
_properties = _entityType.GetProperties().ToDictionary(a => a.Name, a => a, StringComparer.CurrentCultureIgnoreCase);
|
||||
_properties = _entityType.GetPropertiesDictIgnoreCase();
|
||||
_table = table;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user