コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Desks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDesks(Desk desk)
 {
     base.AddObject("Desks", desk);
 }