mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 修复 IAdo.Query 返回实体中带有延时导航属性,读取顺序不对的 bug;
This commit is contained in:
@ -91,9 +91,10 @@ namespace FreeSql.Internal.CommonProvider
|
||||
|
||||
internal Dictionary<string, PropertyInfo> GetQueryTypeProperties(Type type)
|
||||
{
|
||||
var tb = _util.GetTableByEntity(type);
|
||||
var props = tb?.Properties ?? type.GetPropertiesDictIgnoreCase();
|
||||
return props;
|
||||
return type.GetPropertiesDictIgnoreCase(); //与 ExecuteArrayRowReadClassOrTuple 顺序同步,防止【延时属性】获取到位置不对的问题
|
||||
//var tb = _util.GetTableByEntity(type);
|
||||
//var props = tb?.Properties ?? type.GetPropertiesDictIgnoreCase();
|
||||
//return props;
|
||||
}
|
||||
|
||||
public bool ExecuteConnectTest()
|
||||
|
Reference in New Issue
Block a user