/// <summary> /// Deprecated Method for adding a new object to the SubRegiunes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubRegiunes(SubRegiune subRegiune) { base.AddObject("SubRegiunes", subRegiune); }
/// <summary> /// Create a new SubRegiune object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="fK_Regiune">Initial value of the FK_Regiune property.</param> /// <param name="fK_Real_SubRegiune">Initial value of the FK_Real_SubRegiune property.</param> /// <param name="nume">Initial value of the Nume property.</param> public static SubRegiune CreateSubRegiune(global::System.Int32 id, global::System.Int32 fK_Regiune, global::System.Byte fK_Real_SubRegiune, global::System.String nume) { SubRegiune subRegiune = new SubRegiune(); subRegiune.ID = id; subRegiune.FK_Regiune = fK_Regiune; subRegiune.FK_Real_SubRegiune = fK_Real_SubRegiune; subRegiune.Nume = nume; return subRegiune; }