mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Synchronization code
This commit is contained in:
@@ -1339,14 +1339,19 @@ namespace SqlSugar
|
||||
}
|
||||
return _Select<TResult>(expression);
|
||||
}
|
||||
public ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect, Type propertyType)
|
||||
public ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect, Type resultType)
|
||||
{
|
||||
var exp = DynamicCoreHelper.GetMember(typeof(TResult),propertyType, expShortName, expSelect);
|
||||
var exp = DynamicCoreHelper.GetMember(typeof(TResult), resultType, expShortName, expSelect);
|
||||
return _Select<TResult>(exp);
|
||||
}
|
||||
public ISugarQueryable<T> Select(string expShortName, FormattableString expSelect,Type propertyType)
|
||||
public ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect,Type EntityType, Type resultType)
|
||||
{
|
||||
return Select<T>(expShortName, expSelect, propertyType);
|
||||
var exp = DynamicCoreHelper.GetMember(EntityType, resultType, expShortName, expSelect);
|
||||
return _Select<TResult>(exp);
|
||||
}
|
||||
public ISugarQueryable<T> Select(string expShortName, FormattableString expSelect,Type resultType)
|
||||
{
|
||||
return Select<T>(expShortName, expSelect, resultType);
|
||||
}
|
||||
public virtual ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, TResult>> expression)
|
||||
{
|
||||
|
@@ -151,8 +151,9 @@ namespace SqlSugar
|
||||
Task<bool> AnyAsync(Expression<Func<T, bool>> expression, CancellationToken token);
|
||||
bool Any();
|
||||
Task<bool> AnyAsync();
|
||||
ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect, Type propertyType);
|
||||
ISugarQueryable<T> Select(string expShortName, FormattableString expSelect, Type propertyType);
|
||||
ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect, Type resultType);
|
||||
ISugarQueryable<TResult> Select<TResult>(string expShortName, FormattableString expSelect,Type EntityType, Type resultType);
|
||||
ISugarQueryable<T> Select(string expShortName, FormattableString expSelect, Type resultType);
|
||||
ISugarQueryable<TResult> Select<TResult>(Expression expression);
|
||||
ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, TResult>> expression);
|
||||
ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, TResult>> expression,bool isAutoFill);
|
||||
|
Reference in New Issue
Block a user