/// <summary> /// Deprecated Method for adding a new object to the SubCastes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubCastes(SubCaste subCaste) { base.AddObject("SubCastes", subCaste); }
/// <summary> /// Create a new SubCaste object. /// </summary> /// <param name="subCasteID">Initial value of the SubCasteID property.</param> public static SubCaste CreateSubCaste(global::System.Int32 subCasteID) { SubCaste subCaste = new SubCaste(); subCaste.SubCasteID = subCasteID; return subCaste; }