コード例 #1
0
 /// <summary>
 /// Create a new Caste object.
 /// </summary>
 /// <param name="casteID">Initial value of the CasteID property.</param>
 public static Caste CreateCaste(global::System.Int32 casteID)
 {
     Caste caste = new Caste();
     caste.CasteID = casteID;
     return caste;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Castes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCastes(Caste caste)
 {
     base.AddObject("Castes", caste);
 }