コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Statys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatys(Staty staty)
 {
     base.AddObject("Statys", staty);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Staty object.
 /// </summary>
 /// <param name="statusID">Initial value of the StatusID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Staty CreateStaty(global::System.Int32 statusID, global::System.String status)
 {
     Staty staty = new Staty();
     staty.StatusID = statusID;
     staty.Status = status;
     return staty;
 }