Class OleDbDataProviderBase
Inheritance
System.Object
OleDbDataProviderBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
public abstract class OleDbDataProviderBase : DbProvider
Constructors
OleDbDataProviderBase()
Declaration
protected OleDbDataProviderBase()
Properties
OleDbProviderName
Declaration
protected string OleDbProviderName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateConnectionString(String, String, String, String, String)
Declaration
public override string CreateConnectionString(string dbServer, string dbName, string dbUser, string dbPass, string extraParams)
Parameters
Type |
Name |
Description |
System.String |
dbServer |
|
System.String |
dbName |
|
System.String |
dbUser |
|
System.String |
dbPass |
|
System.String |
extraParams |
|
Returns
Type |
Description |
System.String |
|
Overrides
CreateParameter(String, Object)
Declaration
public override IDbDataParameter CreateParameter(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Data.IDbDataParameter |
|
Overrides
GetAdapter()
Declaration
public override DbDataAdapter GetAdapter()
Returns
Type |
Description |
System.Data.Common.DbDataAdapter |
|
Overrides
GetAdapter(IDbConnection)
Declaration
public override DbDataAdapter GetAdapter(IDbConnection conn)
Parameters
Type |
Name |
Description |
System.Data.IDbConnection |
conn |
|
Returns
Type |
Description |
System.Data.Common.DbDataAdapter |
|
Overrides
GetAdapter(IDbConnection, String)
Declaration
public override DbDataAdapter GetAdapter(IDbConnection conn, string sqlStmt)
Parameters
Type |
Name |
Description |
System.Data.IDbConnection |
conn |
|
System.String |
sqlStmt |
|
Returns
Type |
Description |
System.Data.Common.DbDataAdapter |
|
Overrides
GetBitwiseAndStatement(Object, Object)
Declaration
public override string GetBitwiseAndStatement(object operand1, object operand2)
Parameters
Type |
Name |
Description |
System.Object |
operand1 |
|
System.Object |
operand2 |
|
Returns
Type |
Description |
System.String |
|
Overrides
GetConnection()
Declaration
public override IDbConnection GetConnection()
Returns
Type |
Description |
System.Data.IDbConnection |
|
Overrides
GetConnection(String)
Declaration
public override IDbConnection GetConnection(string newConStr)
Parameters
Type |
Name |
Description |
System.String |
newConStr |
|
Returns
Type |
Description |
System.Data.IDbConnection |
|
Overrides
GetParameterNamePrefix()
Declaration
public override string GetParameterNamePrefix()
Returns
Type |
Description |
System.String |
|
Overrides
PrepareSQLStatement(String, CommandType, DataParameterCollection)
Declaration
public override string PrepareSQLStatement(string sqlStmt, CommandType cmdType, DataParameterCollection commandParams)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
RemoveParameterNamePrefix(String)
Declaration
public override string RemoveParameterNamePrefix(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
Overrides
ValidateConnectionParams(String, String, String, String)
Declaration
public override bool ValidateConnectionParams(string dbServer, string dbName, string dbUser, string dbPass)
Parameters
Type |
Name |
Description |
System.String |
dbServer |
|
System.String |
dbName |
|
System.String |
dbUser |
|
System.String |
dbPass |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides