mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 10:55:02 +08:00
-
This commit is contained in:
@@ -75,6 +75,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public IInsertable<T> Where(bool isInsertNull,bool isOffIdentity=false)
|
public IInsertable<T> Where(bool isInsertNull,bool isOffIdentity=false)
|
||||||
{
|
{
|
||||||
|
this.IsOffIdentity = IsOffIdentity;
|
||||||
if (this.InsertBuilder.LambdaExpressions == null)
|
if (this.InsertBuilder.LambdaExpressions == null)
|
||||||
this.InsertBuilder.LambdaExpressions = InstanceFactory.GetLambdaExpressions(this.Context.CurrentConnectionConfig);
|
this.InsertBuilder.LambdaExpressions = InstanceFactory.GetLambdaExpressions(this.Context.CurrentConnectionConfig);
|
||||||
this.InsertBuilder.IsInsertNull = isInsertNull;
|
this.InsertBuilder.IsInsertNull = isInsertNull;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace SqlSugar
|
|||||||
IInsertable<T> InsertColumns(Expression<Func<T, object>> columns);
|
IInsertable<T> InsertColumns(Expression<Func<T, object>> columns);
|
||||||
IInsertable<T> IgnoreColumns(Expression<Func<T, object>> columns);
|
IInsertable<T> IgnoreColumns(Expression<Func<T, object>> columns);
|
||||||
IInsertable<T> IgnoreColumns(Func<string,bool> ignoreColumMethod);
|
IInsertable<T> IgnoreColumns(Func<string,bool> ignoreColumMethod);
|
||||||
IInsertable<T> Where(bool isInsertNull);
|
IInsertable<T> Where(bool isInsertNull, bool isOffIdentity = false);
|
||||||
KeyValuePair<string, List<SugarParameter>> ToSql();
|
KeyValuePair<string, List<SugarParameter>> ToSql();
|
||||||
EntityInfo EntityInfo { get; set; }
|
EntityInfo EntityInfo { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user