/// <summary> /// Deprecated Method for adding a new object to the Animales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAnimales(Animale animale) { base.AddObject("Animales", animale); }
/// <summary> /// Create a new Animale object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="nume">Initial value of the Nume property.</param> /// <param name="dataInmultInceput">Initial value of the DataInmultInceput property.</param> /// <param name="dataInmultSfarsit">Initial value of the DataInmultSfarsit property.</param> /// <param name="pui_An">Initial value of the Pui_An property.</param> /// <param name="dataVanatInceput">Initial value of the DataVanatInceput property.</param> /// <param name="dataVanatSfarsit">Initial value of the DataVanatSfarsit property.</param> public static Animale CreateAnimale(global::System.Byte id, global::System.String nume, global::System.DateTime dataInmultInceput, global::System.DateTime dataInmultSfarsit, global::System.Int32 pui_An, global::System.DateTime dataVanatInceput, global::System.DateTime dataVanatSfarsit) { Animale animale = new Animale(); animale.ID = id; animale.Nume = nume; animale.DataInmultInceput = dataInmultInceput; animale.DataInmultSfarsit = dataInmultSfarsit; animale.Pui_An = pui_An; animale.DataVanatInceput = dataVanatInceput; animale.DataVanatSfarsit = dataVanatSfarsit; return animale; }