mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update Access
This commit is contained in:
@@ -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
|
||||
|
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user