/// <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; }
public ProductDepartmentModel(ProductDepartment productDepartment) { _productDepartment = productDepartment; }
/// <summary> /// Deprecated Method for adding a new object to the ProductDepartments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductDepartments(ProductDepartment productDepartment) { base.AddObject("ProductDepartments", productDepartment); }