Update Oracle

This commit is contained in:
sunkaixuan 2017-08-28 00:40:41 +08:00
parent 2203eb5a52
commit 0e18048320
3 changed files with 21 additions and 0 deletions

View File

@ -11,6 +11,13 @@ namespace SqlSugar
public class OracleProvider : AdoProvider
{
public OracleProvider() { }
public override string SqlParameterKeyWord
{
get
{
return ":";
}
}
public override IDbConnection Connection
{
get

View File

@ -9,6 +9,13 @@ namespace SqlSugar
{
public class OracleBuilder : SqlBuilderProvider
{
public override string SqlParameterKeyWord
{
get
{
return ":";
}
}
public override string SqlTranslationLeft { get { return "\""; } }
public override string SqlTranslationRight { get { return "\""; } }
public override string GetTranslationTableName(string name)

View File

@ -16,6 +16,13 @@ namespace SqlSugar
{
base.DbMehtods = new MySqlMethod();
}
public override string SqlParameterKeyWord
{
get
{
return ":";
}
}
public override string SqlTranslationLeft { get { return "\""; } }
public override string SqlTranslationRight { get { return "\""; } }
public override string GetTranslationTableName(string entityName, bool isMapping = true)