Example #1
0
 /// <summary>
 /// Create a new TillProduct object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="departmentID">Initial value of the DepartmentID property.</param>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 /// <param name="taxRateID">Initial value of the TaxRateID property.</param>
 /// <param name="record">Initial value of the Record property.</param>
 /// <param name="tillID">Initial value of the TillID property.</param>
 public static TillProduct CreateTillProduct(global::System.Guid id, global::System.String name, global::System.Guid departmentID, global::System.Guid groupID, global::System.Guid taxRateID, global::System.Int32 record, global::System.Guid tillID)
 {
     TillProduct tillProduct = new TillProduct();
     tillProduct.ID = id;
     tillProduct.Name = name;
     tillProduct.DepartmentID = departmentID;
     tillProduct.GroupID = groupID;
     tillProduct.TaxRateID = taxRateID;
     tillProduct.Record = record;
     tillProduct.TillID = tillID;
     return tillProduct;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TillProducts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTillProducts(TillProduct tillProduct)
 {
     base.AddObject("TillProducts", tillProduct);
 }