EasyObjects.NET Programmers Reference

DynamicDatabaseFactory.CreateDatabase Method (String, String, String, String, String, DBProviderType)

Creates a named database instance using username and password for the given provider type

public static Database CreateDatabase(
   string instanceName,
   string server,
   string database,
   string userID,
   string password,
   DBProviderType provider
);

Parameters

instanceName
The instance name to use for the database
server
Name of the server to connect to
database
Name of the database to connect to
userID
User Id to connect with
password
Password to connect with
provider
The type of provider

Return Value

An initialized database provider

See Also

DynamicDatabaseFactory Class | NCI.EasyObjects Namespace | DynamicDatabaseFactory.CreateDatabase Overload List