mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 10:49:36 +08:00
Update Oracle
This commit is contained in:
parent
2203eb5a52
commit
0e18048320
@ -11,6 +11,13 @@ namespace SqlSugar
|
|||||||
public class OracleProvider : AdoProvider
|
public class OracleProvider : AdoProvider
|
||||||
{
|
{
|
||||||
public OracleProvider() { }
|
public OracleProvider() { }
|
||||||
|
public override string SqlParameterKeyWord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
public override IDbConnection Connection
|
public override IDbConnection Connection
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -9,6 +9,13 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
public class OracleBuilder : SqlBuilderProvider
|
public class OracleBuilder : SqlBuilderProvider
|
||||||
{
|
{
|
||||||
|
public override string SqlParameterKeyWord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
public override string SqlTranslationLeft { get { return "\""; } }
|
public override string SqlTranslationLeft { get { return "\""; } }
|
||||||
public override string SqlTranslationRight { get { return "\""; } }
|
public override string SqlTranslationRight { get { return "\""; } }
|
||||||
public override string GetTranslationTableName(string name)
|
public override string GetTranslationTableName(string name)
|
||||||
|
@ -16,6 +16,13 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
base.DbMehtods = new MySqlMethod();
|
base.DbMehtods = new MySqlMethod();
|
||||||
}
|
}
|
||||||
|
public override string SqlParameterKeyWord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
public override string SqlTranslationLeft { get { return "\""; } }
|
public override string SqlTranslationLeft { get { return "\""; } }
|
||||||
public override string SqlTranslationRight { get { return "\""; } }
|
public override string SqlTranslationRight { get { return "\""; } }
|
||||||
public override string GetTranslationTableName(string entityName, bool isMapping = true)
|
public override string GetTranslationTableName(string entityName, bool isMapping = true)
|
||||||
|
Loading…
Reference in New Issue
Block a user