public static void StartDB(string connection) { if (DBContext == null) { DBContext = new KyersSoftWareMSSQLBaseEntity(connection); DBContext.Connect(); } }
public static void StopDB() { DBContext = null; }