Class AccessConnection
- Namespace
- Dynamicweb.DataManagement
- Assembly
- Dynamicweb.DataManagement.dll
Represents connection to instance of Microsoft Access database .
[DMConnectionInfo(0, "Microsoft Access")]
public class AccessConnection : DMConnection, ICloneable
- Inheritance
-
AccessConnection
- Implements
- Inherited Members
Constructors
AccessConnection()
Default constructor
public AccessConnection()
Properties
DBName
For some legacy code.
public override string DBName { get; }
Property Value
LocalPath
Local path to database file
public string LocalPath { get; set; }
Property Value
Methods
Clone()
Creates new AccessConnection object using data of current object
public override object Clone()
Returns
- object
New AccessConnection object with copied data
Fill(IDataReader)
Fill fields: LocalPath
public override void Fill(IDataReader dataReader)
Parameters
dataReader
IDataReader
FillRow(DataRow)
Fill fields: LocalPath
protected override void FillRow(DataRow row)
Parameters
row
DataRow
GetAdapter()
Returns new OleDbDataAdapter instance
public OleDbDataAdapter GetAdapter()
Returns
- OleDbDataAdapter
OleDbDataAdapter object
GetData()
protected override DMConnectionData GetData()
Returns
GetDatabaseConnection()
Gets object that represents connection to database
public OleDbConnection GetDatabaseConnection()
Returns
- OleDbConnection
OleDbConnection object
GetMeta()
protected override DMConnectionMeta GetMeta()