/// <summary> /// Create a new TempProduct 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 TempProduct CreateTempProduct(long typeId, string productMasterId, string productId, int price) { TempProduct tempProduct = new TempProduct(); tempProduct.TypeId = typeId; tempProduct.ProductMasterId = productMasterId; tempProduct.ProductId = productId; tempProduct.Price = price; return tempProduct; }
/// <summary> /// Deprecated Method for adding a new object to the TempProducts EntitySet. /// </summary> public void AddToTempProducts(TempProduct tempProduct) { base.AddObject("TempProducts", tempProduct); }