/// <summary> /// Deprecated Method for adding a new object to the TranzactiiCumparares EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTranzactiiCumparares(TranzactiiCumparare tranzactiiCumparare) { base.AddObject("TranzactiiCumparares", tranzactiiCumparare); }
/// <summary> /// Create a new TranzactiiCumparare object. /// </summary> /// <param name="usr">Initial value of the Usr property.</param> /// <param name="nume">Initial value of the Nume property.</param> /// <param name="regiune">Initial value of the Regiune property.</param> /// <param name="numar">Initial value of the Numar property.</param> /// <param name="pret">Initial value of the Pret property.</param> /// <param name="data">Initial value of the Data property.</param> /// <param name="data_Expirarii">Initial value of the Data_Expirarii property.</param> /// <param name="id">Initial value of the ID property.</param> public static TranzactiiCumparare CreateTranzactiiCumparare(global::System.String usr, global::System.String nume, global::System.String regiune, global::System.Int32 numar, global::System.Decimal pret, global::System.DateTime data, global::System.DateTime data_Expirarii, global::System.Int32 id) { TranzactiiCumparare tranzactiiCumparare = new TranzactiiCumparare(); tranzactiiCumparare.Usr = usr; tranzactiiCumparare.Nume = nume; tranzactiiCumparare.Regiune = regiune; tranzactiiCumparare.Numar = numar; tranzactiiCumparare.Pret = pret; tranzactiiCumparare.Data = data; tranzactiiCumparare.Data_Expirarii = data_Expirarii; tranzactiiCumparare.ID = id; return tranzactiiCumparare; }