mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update access
This commit is contained in:
parent
f579e4eeac
commit
f2a140a45f
@ -70,7 +70,7 @@ namespace SqlSugar.Access
|
|||||||
}
|
}
|
||||||
if (parameters.HasValue())
|
if (parameters.HasValue())
|
||||||
{
|
{
|
||||||
OleDbParameter[] ipars = GetSqlParameter(parameters).Where(x=>sql.Contains(x.ParameterName)).ToArray();
|
OleDbParameter[] ipars = GetSqlParameter(parameters).Where(x=>sql.ToLower().Contains(x.ParameterName.ToLower())).ToArray();
|
||||||
if (ipars != null)
|
if (ipars != null)
|
||||||
{
|
{
|
||||||
ipars = ipars.OrderBy(it => sql.IndexOf(it.ParameterName)).ToArray();
|
ipars = ipars.OrderBy(it => sql.IndexOf(it.ParameterName)).ToArray();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<Version>1.2.0</Version>
|
<Version>1.4.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugar.AccessCore</id>
|
<id>SqlSugar.AccessCore</id>
|
||||||
<version>1.2</version>
|
<version>1.4</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>Landa</owners>
|
<owners>Landa</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user