EasyObjects.NET Programmers Reference

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

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

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

Parameters

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