/// <summary> /// Create a new Desk object. /// </summary> /// <param name="deskId">Initial value of the DeskId property.</param> /// <param name="deskName">Initial value of the DeskName property.</param> public static Desk CreateDesk(global::System.Int32 deskId, global::System.String deskName) { Desk desk = new Desk(); desk.DeskId = deskId; desk.DeskName = deskName; return desk; }
/// <summary> /// Deprecated Method for adding a new object to the Desks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDesks(Desk desk) { base.AddObject("Desks", desk); }