/// <summary> /// Create a new Societate object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nume">Initial value of the Nume property.</param> /// <param name="adresa">Initial value of the Adresa property.</param> /// <param name="cUI">Initial value of the CUI property.</param> public static Societate CreateSocietate(global::System.Int32 id, global::System.String nume, global::System.String adresa, global::System.String cUI) { Societate societate = new Societate(); societate.Id = id; societate.Nume = nume; societate.Adresa = adresa; societate.CUI = cUI; return societate; }
/// <summary> /// Deprecated Method for adding a new object to the Societates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSocietates(Societate societate) { base.AddObject("Societates", societate); }