public WasherRepository() { context = new WasherDBContext(); conObj.ConnectionString = "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=WasherDB; Integrated Security=SSPI"; cmdObj = new SqlCommand(); _context = new WasherDBContext(); }
public WasherRepository() { conObj.ConnectionString = "Data Source=.\\SQLExpress;Initial Catalog=WasherDB; Integrated Security=SSPI"; cmdObj = new SqlCommand(); _context = new WasherDBContext(); }