![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.7
|
Leadtools.Medical.DataAccessLayer Namespace > DataAccessFactory Class > GetInstance Method : GetInstance(DataAccessConfigurationView) Method |
public static DataAccessFactory GetInstance( DataAccessConfigurationView configView )
'Declaration Public Overloads Shared Function GetInstance( _ ByVal configView As DataAccessConfigurationView _ ) As DataAccessFactory
'Usage Dim configView As DataAccessConfigurationView Dim value As DataAccessFactory value = DataAccessFactory.GetInstance(configView)
public: static DataAccessFactory^ GetInstance( DataAccessConfigurationView^ configView )
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.