示例#1
0
 /// <summary>
 /// Create a new Padure 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="turisti_zi">Initial value of the Turisti_zi property.</param>
 /// <param name="exploatare_zi">Initial value of the Exploatare_zi property.</param>
 /// <param name="vanat_zi">Initial value of the Vanat_zi property.</param>
 /// <param name="braconat_zi">Initial value of the Braconat_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 Padure CreatePadure(global::System.Int32 id, global::System.Int32 fK_SubRegiune, global::System.Int16 turisti_zi, global::System.Int16 exploatare_zi, global::System.Int16 vanat_zi, global::System.Int16 braconat_zi, global::System.Double suprafata, global::System.Double nivelPoluareAer, global::System.Double nivelPoluareSol, global::System.Double nivelPoluareApa)
 {
     Padure padure = new Padure();
     padure.ID = id;
     padure.FK_SubRegiune = fK_SubRegiune;
     padure.Turisti_zi = turisti_zi;
     padure.Exploatare_zi = exploatare_zi;
     padure.Vanat_zi = vanat_zi;
     padure.Braconat_zi = braconat_zi;
     padure.Suprafata = suprafata;
     padure.NivelPoluareAer = nivelPoluareAer;
     padure.NivelPoluareSol = nivelPoluareSol;
     padure.NivelPoluareApa = nivelPoluareApa;
     return padure;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Padures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPadures(Padure padure)
 {
     base.AddObject("Padures", padure);
 }