/// <summary> /// Create a new Accepter object. /// </summary> /// <param name="accepterId">Initial value of the AccepterId property.</param> public static Accepter CreateAccepter(global::System.Int32 accepterId) { Accepter accepter = new Accepter(); accepter.AccepterId = accepterId; return(accepter); }
public void removeRequest(int id) { finalDataBaseEntities2 f = new finalDataBaseEntities2(); Accepter d = f.Accepters.First(x => x.AccepterId == id); f.DeleteObject(d); f.SaveChanges(); }
/// <summary> /// Deprecated Method for adding a new object to the Accepters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccepters(Accepter accepter) { base.AddObject("Accepters", accepter); }