Esempio n. 1
0
 /// <summary>
 /// Create a new Populatie object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="fK_SubRegiune">Initial value of the FK_SubRegiune property.</param>
 /// <param name="oameni_Vii">Initial value of the Oameni_Vii property.</param>
 /// <param name="oameni_Morti">Initial value of the Oameni_Morti property.</param>
 /// <param name="padurari">Initial value of the Padurari property.</param>
 /// <param name="fermieri">Initial value of the Fermieri property.</param>
 /// <param name="vanatori">Initial value of the Vanatori property.</param>
 /// <param name="turisti_Zi">Initial value of the Turisti_Zi property.</param>
 /// <param name="bani_Zi">Initial value of the Bani_Zi property.</param>
 /// <param name="suprafata">Initial value of the Suprafata property.</param>
 /// <param name="nivelPoluareAer">Initial value of the NivelPoluareAer property.</param>
 /// <param name="nivelPoluareSol">Initial value of the NivelPoluareSol property.</param>
 /// <param name="nivelPoluareApa">Initial value of the NivelPoluareApa property.</param>
 public static Populatie CreatePopulatie(global::System.Int32 id, global::System.Int32 fK_SubRegiune, global::System.Int32 oameni_Vii, global::System.Int32 oameni_Morti, global::System.Int16 padurari, global::System.Int16 fermieri, global::System.Int16 vanatori, global::System.Int16 turisti_Zi, global::System.Decimal bani_Zi, global::System.Double suprafata, global::System.Double nivelPoluareAer, global::System.Double nivelPoluareSol, global::System.Double nivelPoluareApa)
 {
     Populatie populatie = new Populatie();
     populatie.ID = id;
     populatie.FK_SubRegiune = fK_SubRegiune;
     populatie.Oameni_Vii = oameni_Vii;
     populatie.Oameni_Morti = oameni_Morti;
     populatie.Padurari = padurari;
     populatie.Fermieri = fermieri;
     populatie.Vanatori = vanatori;
     populatie.Turisti_Zi = turisti_Zi;
     populatie.Bani_Zi = bani_Zi;
     populatie.Suprafata = suprafata;
     populatie.NivelPoluareAer = nivelPoluareAer;
     populatie.NivelPoluareSol = nivelPoluareSol;
     populatie.NivelPoluareApa = nivelPoluareApa;
     return populatie;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Populaties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPopulaties(Populatie populatie)
 {
     base.AddObject("Populaties", populatie);
 }