Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Real object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="numeCampanie">Initial value of the NumeCampanie property.</param>
 /// <param name="numeZona">Initial value of the NumeZona property.</param>
 /// <param name="pctLocatie">Initial value of the PctLocatie property.</param>
 /// <param name="descriere">Initial value of the Descriere property.</param>
 /// <param name="probleme">Initial value of the Probleme property.</param>
 /// <param name="nivelProblema">Initial value of the NivelProblema property.</param>
 /// <param name="fK_Ocol_Silvic">Initial value of the FK_Ocol_Silvic property.</param>
 /// <param name="baniStransi">Initial value of the BaniStransi property.</param>
 /// <param name="baniTotal">Initial value of the BaniTotal property.</param>
 /// <param name="nrUsriDonatori">Initial value of the NrUsriDonatori property.</param>
 /// <param name="nrFirmeDonatoare">Initial value of the NrFirmeDonatoare property.</param>
 /// <param name="dataInceperii">Initial value of the DataInceperii property.</param>
 /// <param name="isSolved">Initial value of the IsSolved property.</param>
 public static Real CreateReal(global::System.Int32 id, global::System.String numeCampanie, global::System.String numeZona, global::System.String pctLocatie, global::System.String descriere, global::System.String probleme, global::System.Byte nivelProblema, global::System.Byte fK_Ocol_Silvic, global::System.Decimal baniStransi, global::System.Decimal baniTotal, global::System.Int16 nrUsriDonatori, global::System.Int16 nrFirmeDonatoare, global::System.DateTime dataInceperii, global::System.Boolean isSolved)
 {
     Real real = new Real();
     real.ID = id;
     real.NumeCampanie = numeCampanie;
     real.NumeZona = numeZona;
     real.PctLocatie = pctLocatie;
     real.Descriere = descriere;
     real.Probleme = probleme;
     real.NivelProblema = nivelProblema;
     real.FK_Ocol_Silvic = fK_Ocol_Silvic;
     real.BaniStransi = baniStransi;
     real.BaniTotal = baniTotal;
     real.NrUsriDonatori = nrUsriDonatori;
     real.NrFirmeDonatoare = nrFirmeDonatoare;
     real.DataInceperii = dataInceperii;
     real.IsSolved = isSolved;
     return real;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Reals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReals(Real real)
 {
     base.AddObject("Reals", real);
 }