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