- configView
- The configuration view which holds the information about the data providers to create.
Visual Basic (Declaration) | |
---|---|
Public Shared Function GetInstance( _ ByVal configView As IDataAccessConfigurationView _ ) As DataAccessFactory |
Visual Basic (Usage) | Copy Code |
---|---|
Dim configView As IDataAccessConfigurationView Dim value As DataAccessFactory value = DataAccessFactory.GetInstance(configView) |
C# | |
---|---|
public static DataAccessFactory GetInstance( IDataAccessConfigurationView configView ) |
C++/CLI | |
---|---|
public: static DataAccessFactory^ GetInstance( IDataAccessConfigurationView^ configView ) |
Parameters
- configView
- The configuration view which holds the information about the data providers to create.
Return Value
An instance of the DataAccessFactory class.The DataAccessFactory will get the type to create from the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessSettings.DataAccessFactory in the provided configView.
If no type is defined in the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessSettings.DataAccessFactory the default DataAccessFactory class will be created.
This allows developers to override the default factory used to create the data access providers by providing their custom factories and take control of the creation method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7