/// <summary>
 /// Create a new MnPrice object.
 /// </summary>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="productMasterId">Initial value of ProductMasterId.</param>
 /// <param name="price">Initial value of Price.</param>
 public static MnPrice CreateMnPrice(long departmentId, string productMasterId, long price)
 {
     MnPrice mnPrice = new MnPrice();
     mnPrice.DepartmentId = departmentId;
     mnPrice.ProductMasterId = productMasterId;
     mnPrice.Price = price;
     return mnPrice;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MnPrices EntitySet.
 /// </summary>
 public void AddToMnPrices(MnPrice mnPrice)
 {
     base.AddObject("MnPrices", mnPrice);
 }