Creates a data provider from the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType returned from the Leadtools.Medical.DataAccessLayer.Configuration.IDataAccessConfigurationView.
public virtual T CreateDataAccessAgent<T>() public:virtual _T^_ CreateDataAccessAgentgeneric<typename T>();
T
The data provider object which corresponds to the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType.
This method will not try to create a data provider from the generic type. It will create a provider from the type configured in the Leadtools.Medical.DataAccessLayer.Configuration.IDataAccessConfigurationView. The user should be responsible of providing the proper type or interface for the returned provider or this method will fail.
This method will create the data provider and pass the connection string for the constructor.
For an example of using the GetInstance(idataaccessconfigurationview) refer to the "Leadtools.Medical.Winforms" project.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
