public void Update(Url_Table url) { db.Entry(url).State = EntityState.Modified; db.Configuration.ValidateOnSaveEnabled = false; Save(); db.Configuration.ValidateOnSaveEnabled = true; }
public void Update(Url_Table url) { objDb.Update(url); }
public void Insert(Url_Table url) { db.Url_Table.Add(url); Save(); }
public void Insert(Url_Table url) { objDb.Insert(url); }