mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-17 19:37:34 +08:00
ViewModel Mapping Column bug
This commit is contained in:
parent
741bba6231
commit
ba80d80264
@ -942,6 +942,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
protected ISugarQueryable<TResult> _Select<TResult>(Expression expression)
|
protected ISugarQueryable<TResult> _Select<TResult>(Expression expression)
|
||||||
{
|
{
|
||||||
|
this.Context.InitMppingInfo<TResult>();
|
||||||
var result = InstanceFactory.GetQueryable<TResult>(this.Context.CurrentConnectionConfig);
|
var result = InstanceFactory.GetQueryable<TResult>(this.Context.CurrentConnectionConfig);
|
||||||
result.Context = this.Context;
|
result.Context = this.Context;
|
||||||
result.SqlBuilder = this.SqlBuilder;
|
result.SqlBuilder = this.SqlBuilder;
|
||||||
|
Loading…
Reference in New Issue
Block a user