mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Synchronization code
This commit is contained in:
@@ -616,7 +616,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public virtual ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public virtual ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return _UnionAll(queryables);
|
return _UnionAll(queryables);
|
||||||
}
|
}
|
||||||
@@ -659,12 +659,12 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public virtual ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
Check.Exception(queryables.IsNullOrEmpty(), "UnionAll.queryables is null ");
|
Check.Exception(queryables.IsNullOrEmpty(), "UnionAll.queryables is null ");
|
||||||
return UnionAll(queryables.ToArray());
|
return UnionAll(queryables.ToArray());
|
||||||
}
|
}
|
||||||
public virtual ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public virtual ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
var sqlBuilder = InstanceFactory.GetSqlbuilder(this.Context.CurrentConnectionConfig);
|
var sqlBuilder = InstanceFactory.GetSqlbuilder(this.Context.CurrentConnectionConfig);
|
||||||
Check.Exception(queryables.IsNullOrEmpty(), "UnionAll.queryables is null ");
|
Check.Exception(queryables.IsNullOrEmpty(), "UnionAll.queryables is null ");
|
||||||
@@ -702,7 +702,7 @@ namespace SqlSugar
|
|||||||
return resulut.Select<T>(sqlBuilder.SqlSelectAll);
|
return resulut.Select<T>(sqlBuilder.SqlSelectAll);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public virtual ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public virtual ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
Check.Exception(queryables.IsNullOrEmpty(), "Union.queryables is null ");
|
Check.Exception(queryables.IsNullOrEmpty(), "Union.queryables is null ");
|
||||||
return Union(queryables.ToArray());
|
return Union(queryables.ToArray());
|
||||||
|
@@ -654,22 +654,22 @@ namespace SqlSugar
|
|||||||
return ScopedContext.StorageableByObject(singleEntityObjectOrListObject);
|
return ScopedContext.StorageableByObject(singleEntityObjectOrListObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.Union(queryables);
|
return ScopedContext.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.Union(queryables);
|
return ScopedContext.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.UnionAll(queryables);
|
return ScopedContext.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.UnionAll(queryables);
|
return ScopedContext.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
@@ -190,10 +190,10 @@ namespace SqlSugar
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Union
|
#region Union
|
||||||
ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class, new();
|
ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class;
|
||||||
ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class, new();
|
ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class;
|
||||||
ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class, new();
|
ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class;
|
||||||
ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class, new();
|
ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Updateable
|
#region Updateable
|
||||||
|
@@ -267,22 +267,22 @@ namespace SqlSugar
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Union
|
#region Union
|
||||||
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return this.Context.Union(queryables);
|
return this.Context.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return this.Context.Union(queryables);
|
return this.Context.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return this.Context.UnionAll(queryables);
|
return this.Context.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return this.Context.UnionAll(queryables);
|
return this.Context.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
@@ -634,22 +634,22 @@ namespace SqlSugar
|
|||||||
return this.ScopedContext.StorageableByObject(singleEntityObjectOrListObject);
|
return this.ScopedContext.StorageableByObject(singleEntityObjectOrListObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.Union(queryables);
|
return ScopedContext.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> Union<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.Union(queryables);
|
return ScopedContext.Union(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(List<ISugarQueryable<T>> queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.UnionAll(queryables);
|
return ScopedContext.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class, new()
|
public ISugarQueryable<T> UnionAll<T>(params ISugarQueryable<T>[] queryables) where T : class
|
||||||
{
|
{
|
||||||
return ScopedContext.UnionAll(queryables);
|
return ScopedContext.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user