public static DataAccessFactory GetInstance(
DataAccessConfigurationView configView
)
configView
The configuration view containing the information about the data providers to create.
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 a type is not 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.
For a practice on using the GetInstance(IDataAccessConfigurationView) method refer to the "Leadtools.Medical.Winforms" project.