예제 #1
0
 /// <summary>
 /// Create a new ProductDepartment object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="department">Initial value of the Department property.</param>
 /// <param name="record">Initial value of the Record property.</param>
 /// <param name="tillID">Initial value of the TillID property.</param>
 public static ProductDepartment CreateProductDepartment(global::System.Guid id, global::System.String department, global::System.Int32 record, global::System.Guid tillID)
 {
     ProductDepartment productDepartment = new ProductDepartment();
     productDepartment.ID = id;
     productDepartment.Department = department;
     productDepartment.Record = record;
     productDepartment.TillID = tillID;
     return productDepartment;
 }
예제 #2
0
 public ProductDepartmentModel(ProductDepartment productDepartment)
 {
     _productDepartment = productDepartment;
 }
예제 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductDepartments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductDepartments(ProductDepartment productDepartment)
 {
     base.AddObject("ProductDepartments", productDepartment);
 }