Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Firmes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFirmes(Firme firme)
 {
     base.AddObject("Firmes", firme);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Firme object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nume">Initial value of the Nume property.</param>
 /// <param name="pass">Initial value of the Pass property.</param>
 /// <param name="descriere">Initial value of the Descriere property.</param>
 /// <param name="telefon">Initial value of the Telefon property.</param>
 /// <param name="adresa">Initial value of the Adresa property.</param>
 /// <param name="mail">Initial value of the Mail property.</param>
 /// <param name="rank">Initial value of the Rank property.</param>
 /// <param name="scor">Initial value of the Scor property.</param>
 /// <param name="isForTransport">Initial value of the IsForTransport property.</param>
 /// <param name="baniDonati">Initial value of the BaniDonati property.</param>
 /// <param name="nrDonatii">Initial value of the NrDonatii property.</param>
 /// <param name="isForDelete">Initial value of the IsForDelete property.</param>
 public static Firme CreateFirme(global::System.Int32 id, global::System.String nume, global::System.String pass, global::System.String descriere, global::System.String telefon, global::System.String adresa, global::System.String mail, global::System.String rank, global::System.Double scor, global::System.Boolean isForTransport, global::System.Decimal baniDonati, global::System.Int16 nrDonatii, global::System.Boolean isForDelete)
 {
     Firme firme = new Firme();
     firme.ID = id;
     firme.Nume = nume;
     firme.Pass = pass;
     firme.Descriere = descriere;
     firme.Telefon = telefon;
     firme.Adresa = adresa;
     firme.Mail = mail;
     firme.Rank = rank;
     firme.Scor = scor;
     firme.IsForTransport = isForTransport;
     firme.BaniDonati = baniDonati;
     firme.NrDonatii = nrDonatii;
     firme.IsForDelete = isForDelete;
     return firme;
 }