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>
|
</summary>
|
||||||
</member>
|
</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)">
|
<member name="M:FreeSql.DbSet`1.Add(`0)">
|
||||||
<summary>
|
<summary>
|
||||||
添加
|
添加
|
||||||
|
@ -91,9 +91,10 @@ namespace FreeSql.Internal.CommonProvider
|
|||||||
|
|
||||||
internal Dictionary<string, PropertyInfo> GetQueryTypeProperties(Type type)
|
internal Dictionary<string, PropertyInfo> GetQueryTypeProperties(Type type)
|
||||||
{
|
{
|
||||||
var tb = _util.GetTableByEntity(type);
|
return type.GetPropertiesDictIgnoreCase(); //与 ExecuteArrayRowReadClassOrTuple 顺序同步,防止【延时属性】获取到位置不对的问题
|
||||||
var props = tb?.Properties ?? type.GetPropertiesDictIgnoreCase();
|
//var tb = _util.GetTableByEntity(type);
|
||||||
return props;
|
//var props = tb?.Properties ?? type.GetPropertiesDictIgnoreCase();
|
||||||
|
//return props;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool ExecuteConnectTest()
|
public bool ExecuteConnectTest()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user