/// <summary> /// Create a new TempPr object. /// </summary> /// <param name="typeId">Initial value of TypeId.</param> /// <param name="productMasterId">Initial value of ProductMasterId.</param> /// <param name="productId">Initial value of ProductId.</param> /// <param name="price">Initial value of Price.</param> public static TempPr CreateTempPr(long typeId, string productMasterId, string productId, int price) { TempPr tempPr = new TempPr(); tempPr.TypeId = typeId; tempPr.ProductMasterId = productMasterId; tempPr.ProductId = productId; tempPr.Price = price; return tempPr; }
/// <summary> /// Deprecated Method for adding a new object to the TempPrs EntitySet. /// </summary> public void AddToTempPrs(TempPr tempPr) { base.AddObject("TempPrs", tempPr); }