Knight Data Access Layer
DataHelper Constructor()
Example 




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class > DataHelper Constructor : DataHelper Constructor()
Initialize the DataHelper using the following app.config settings: DALProviderType, DALConnectionStringName
Syntax
Public Function New()
Dim instance As New DataHelper()
public DataHelper()
public: DataHelper();
public:
DataHelper();
Example
<connectionStrings>
 
    <add name="ApplicationServices" connectionString="Data Source=Invoices.vdb4;"/>
 
</connectionStrings>
 
<appSettings>
 
    <add key="DALConnectionStringName" value="ApplicationServices"/>
 
    <add key="DALProviderType" value="VistaDb4Provider"/>
 
</appSettings>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataHelper Class
DataHelper Members
Overload List