Update Access

This commit is contained in:
sunkaixuan
2022-02-21 01:03:03 +08:00
parent f66d76c4b5
commit df1fa0581f
9 changed files with 181 additions and 212 deletions

View File

@@ -318,6 +318,7 @@ namespace SqlSugar.Access
}
public override List<DbTableInfo> GetTableInfoList(bool isCache = true)
{
// (this.Context.Ado.Connection as OleDbConnection).Open();
var table = (this.Context.Ado.Connection as OleDbConnection).GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new Object[] { null, null, null, "Table" });
var result= table
.Rows.Cast<DataRow>().Select(it=>new DbTableInfo

View File

@@ -8,5 +8,10 @@ namespace SqlSugar.Access
{
public class AccessUpdateBuilder : UpdateBuilder
{
protected override string TomultipleSqlString(List<IGrouping<int, DbColumnInfo>> groupList)
{
throw new Exception("access no support batch update");
}
}
}