Exemple #1
0
 /// <summary>
 /// Create a new SalesDrive object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static SalesDrive CreateSalesDrive(global::System.Guid id, global::System.Int32 year, global::System.String name, global::System.Guid iDDivision, global::System.Boolean deleted)
 {
     SalesDrive salesDrive = new SalesDrive();
     salesDrive.ID = id;
     salesDrive.Year = year;
     salesDrive.Name = name;
     salesDrive.IDDivision = iDDivision;
     salesDrive.Deleted = deleted;
     return salesDrive;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesDrive EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesDrive(SalesDrive salesDrive)
 {
     base.AddObject("SalesDrive", salesDrive);
 }