예제 #1
0
 /// <summary>
 /// this method is used to call the method that will check if the database given is empty
 /// </summary>
 /// <param name="database">
 /// the name of the database
 /// </param>
 /// <param name="connNumber">
 /// the connection number we want to use
 /// </param>
 /// <returns>
 /// a boolean dictating if the database is empty or not
 /// </returns>
 public static bool CheckIfDbIsEmpty(string database, int connNumber)
 {
     return(SQLDBHandler.CheckIfDbIsEmpty(database, connNumber));
 }
예제 #2
0
 /// <summary>
 /// this method is used to call the method that will check if the database given actually exists. If so, we add it to the connection string
 /// </summary>
 /// <param name="database">
 /// the name of the database
 /// </param>
 /// <param name="connNumber">
 /// the connection number we want to use
 /// </param>
 /// <returns>
 /// a boolean dictating if the database exists or not
 /// </returns>
 public static bool CheckForExistanceOfDatabase(string database, int connNumber)
 {
     return(SQLDBHandler.CheckForExistanceOfDatabase(database, connNumber));
 }