mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Delete obsolete
This commit is contained in:
@@ -669,24 +669,5 @@ namespace SqlSugar
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Obsolete
|
||||
[Obsolete]
|
||||
public IInsertable<T> InsertColumns(Func<string, bool> insertColumMethod)
|
||||
{
|
||||
this.InsertBuilder.DbColumnInfoList = this.InsertBuilder.DbColumnInfoList.Where(it => insertColumMethod(it.PropertyName)).ToList();
|
||||
return this;
|
||||
}
|
||||
[Obsolete]
|
||||
public IInsertable<T> IgnoreColumns(Func<string, bool> ignoreColumMethod)
|
||||
{
|
||||
this.InsertBuilder.DbColumnInfoList = this.InsertBuilder.DbColumnInfoList.Where(it => !ignoreColumMethod(it.PropertyName)).ToList();
|
||||
return this;
|
||||
}
|
||||
[Obsolete]
|
||||
public IInsertable<T> Where(bool ignoreNullColumn, bool isOffIdentity = false)
|
||||
{
|
||||
return IgnoreColumns(ignoreNullColumn, isOffIdentity);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@@ -39,14 +39,5 @@ namespace SqlSugar
|
||||
MySqlBlueCopy<T> UseMySql();
|
||||
void AddQueue();
|
||||
|
||||
#region Obsolete
|
||||
[Obsolete("use IgnoreColumns(string[] columns")]
|
||||
|
||||
IInsertable<T> IgnoreColumns(Func<string, bool> ignoreColumMethod);
|
||||
[Obsolete("use InsertColumns(string[] columns")]
|
||||
IInsertable<T> InsertColumns(Func<string, bool> insertColumMethod);
|
||||
[Obsolete("use IgnoreColumns(bool isNoInsertNull, bool isOffIdentity = false)")]
|
||||
IInsertable<T> Where(bool ignoreNullColumn, bool isOffIdentity = false);
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user