mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 09:54:44 +08:00
Support OleDb Insert
This commit is contained in:
@@ -8,6 +8,7 @@ namespace SqlSugar.Access
|
||||
{
|
||||
public class AccessInsertBuilder : InsertBuilder
|
||||
{
|
||||
public override bool IsOleDb { get; set; } = true;
|
||||
public override string SqlTemplate
|
||||
{
|
||||
get
|
||||
@@ -17,7 +18,7 @@ namespace SqlSugar.Access
|
||||
return @"INSERT INTO {0}
|
||||
({1})
|
||||
VALUES
|
||||
({2}) ;";
|
||||
({2}) ;select @@identity";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user