mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 18:52:50 +08:00
- 修复 IAdo.Query 返回实体中带有延时导航属性,读取顺序不对的 bug;
This commit is contained in:
parent
194bff47b8
commit
4c26fa414c
@ -130,6 +130,13 @@
|
||||
清空状态数据
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FreeSql.DbSet`1.RemoveAsync(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
|
||||
<summary>
|
||||
根据 lambda 条件删除数据
|
||||
</summary>
|
||||
<param name="predicate"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:FreeSql.DbSet`1.Add(`0)">
|
||||
<summary>
|
||||
添加
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user