mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
Update Access bug
This commit is contained in:
@@ -35,7 +35,7 @@ namespace SqlSugar
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.Context is SqlServerExpressionContext)
|
||||
if (this.Context is SqlServerExpressionContext || this.Context.GetType().Name.Contains("Access"))
|
||||
{
|
||||
return 150;
|
||||
}
|
||||
@@ -53,7 +53,7 @@ namespace SqlSugar
|
||||
|
||||
public string GetValue(Expression expression)
|
||||
{
|
||||
if (this.Context is SqlServerExpressionContext)
|
||||
if (this.Context is SqlServerExpressionContext|| this.Context.GetType().Name.Contains("Access"))
|
||||
{
|
||||
return "TOP 1";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user