protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public static void resetConnString() { db.Dispose(); db = new POSDBContext(); }