IDatabaseObjectFactory Interface

From RemObjects Software

Jump to: navigation, search

This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.



Overview (.NET)

Provides the methods used to create instances of ADO.NET objects in a data provider agnostic way.

Notes

The interface IDatabaseObjectFactory is implemented by the BaseConnection class which, in turn, is the base class implementing the IAbstractConnection interface. If you need to create standard ADO.NET objects (such as commands, data adapters or command builders) this interface provides you with a data provider agnostic mechanism to do so. Simply cast your connection to IDatabaseObjectFactory and use its methods to instantiate commands, data adapters or command builders of the right type for the underlying data provider used by your connection.

Namespace

Declaration (C#)

internal interface IDatabaseObjectFactory;

Hierarchy

  • RemObjects.DataAbstract.Server.IDatabaseObjectFactory

Methods

Method
Description
CreateCommand Returns a new instance of a standard ADO.NET command specific to the underlying data provider used by the current IAbstractConnection.
CreateCommandBuilder Returns a new instance of a standard ADO.NET command builder specific to the underlying data provider used by the current IAbstractConnection.
CreateDataAdapter Returns a new instance of a standard ADO.NET data adapter specific to the underlying data provider used by the current IAbstractConnection.


See Also


Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToDriversComponentsToolsSamplesArticlesArchitectureIssues

Personal tools