Update odbc

This commit is contained in:
sunkaixuan 2024-04-01 18:15:21 +08:00
parent ca6b714e70
commit 1b0b7d8b38
3 changed files with 15 additions and 2 deletions

View File

@ -9,8 +9,8 @@ namespace SqlSugar.Odbc
{
public class OdbcBuilder : SqlBuilderProvider
{
public override string SqlTranslationLeft { get { return ""; } }
public override string SqlTranslationRight { get { return ""; } }
public override string SqlTranslationLeft { get { return OdbcConfig.SqlTranslationLeft; } }
public override string SqlTranslationRight { get { return OdbcConfig.SqlTranslationRight; } }
public override string GetNoTranslationColumnName(string name)
{
return name;

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace SqlSugar.Odbc
{
public class OdbcConfig
{
public static string SqlTranslationLeft ="";
public static string SqlTranslationRight="";
}
}

View File

@ -64,6 +64,7 @@
<Compile Include="GBase\SqlBuilder\GBaseInsertBuilder.cs" />
<Compile Include="GBase\SqlBuilder\GBaseQueryBuilder.cs" />
<Compile Include="GBase\SqlBuilder\GBaseUpdateBuilder.cs" />
<Compile Include="OdbcConfig.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tools\ErrorMessage.cs" />
<Compile Include="Tools\FileHelper.cs" />