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