Example #1
0
 /// <summary>
 /// Creates a new Manager for the database using the named sql server and credentials
 /// </summary>
 /// <param name="ServerName"></param>
 /// <param name="DatabaseName"></param>
 /// <param name="UserName"></param>
 /// <param name="Password"></param>
 public Manager(string ServerName, string DatabaseName, string UserName, string Password)
 {
     _server = new Server(ServerName, UserName, Password);
     _database = _server.GetDatabase(DatabaseName);
 }
Example #2
0
 /// <summary>
 /// Creates a new Manager for the database
 /// </summary>
 /// <param name="ServerName"></param>
 /// <param name="DatabaseName"></param>
 public Manager(string ServerName, string DatabaseName)
 {
     _server = new Server(ServerName);
     _database = _server.GetDatabase(DatabaseName);
 }