mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Optimized code
This commit is contained in:
parent
304ce4c3e4
commit
a7a0f775a4
@ -359,7 +359,7 @@ namespace SqlSugar
|
||||
this.QueryBuilder.IsCrossQueryWithAttr = true;
|
||||
return this.AS(asName);
|
||||
}
|
||||
public ISugarQueryable<Type> OfType<Type>()
|
||||
public ISugarQueryable<Type> Cast<Type>()
|
||||
{
|
||||
var selectValue = this.Clone().QueryBuilder.GetSelectValue;
|
||||
return this.Select<Type>().Select(selectValue);
|
||||
|
@ -22,7 +22,7 @@ namespace SqlSugar
|
||||
ISugarQueryable<T> AS(string tableName);
|
||||
ISugarQueryable<T> AsWithAttr();
|
||||
ISugarQueryable<T> AsType(Type tableNameType);
|
||||
ISugarQueryable<Type> OfType<Type>();
|
||||
ISugarQueryable<Type> Cast<Type>();
|
||||
ISugarQueryable<T> With(string withString);
|
||||
//ISugarQueryable<T> CrossQueryWithAttr();
|
||||
ISugarQueryable<T> CrossQuery<Type>(string configId);
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.176-preview03</version>
|
||||
<version>5.1.4.176-preview08</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user