mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update SqlSugar
This commit is contained in:
parent
2566f24e2d
commit
55056c2dcc
@ -8,7 +8,7 @@ namespace OrmTest
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
//OldTestMain.Init();
|
||||
OldTestMain.Init();
|
||||
|
||||
Demo1_SqlSugarClient.Init();
|
||||
|
||||
|
@ -237,7 +237,7 @@ namespace SqlSugar
|
||||
}
|
||||
public virtual bool AddTableRemark(string tableName, string description)
|
||||
{
|
||||
string sql = string.Format(this.AddTableRemarkSql,this.SqlBuilder.GetTranslationTableName(tableName), description);
|
||||
string sql = string.Format(this.AddTableRemarkSql,tableName, description);
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
return true;
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ namespace SqlSugar
|
||||
IDeleteable<T> Deleteable<T>(List<dynamic> pkValue) where T : class, new();
|
||||
IDeleteable<T> Deleteable<T>(List<T> deleteObjs) where T : class, new();
|
||||
IDeleteable<T> Deleteable<T>(T deleteObj) where T : class, new();
|
||||
void Dispose();
|
||||
DateTime GetDate();
|
||||
SimpleClient GetSimpleClient();
|
||||
SimpleClient<T> GetSimpleClient<T>() where T : class, new();
|
||||
|
@ -234,6 +234,12 @@ namespace SqlSugar
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
public override bool AddTableRemark(string tableName, string description)
|
||||
{
|
||||
string sql = string.Format(this.AddTableRemarkSql, this.SqlBuilder.GetTranslationTableName(tableName), description);
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
return true;
|
||||
}
|
||||
public override bool CreateTable(string tableName, List<DbColumnInfo> columns, bool isCreatePrimaryKey = true)
|
||||
{
|
||||
if (columns.HasValue())
|
||||
|
Loading…
Reference in New Issue
Block a user