public void AddToMaterialsFromStocks(MaterialsFromStock materialsFromStock) { base.AddObject("MaterialsFromStocks", materialsFromStock); }
public static MaterialsFromStock CreateMaterialsFromStock(long materialsFromStockID, decimal quantity, global::System.DateTime issuedDate, long materialStockID, long fromOrderID, long toOrderID) { MaterialsFromStock materialsFromStock = new MaterialsFromStock(); materialsFromStock.MaterialsFromStockID = materialsFromStockID; materialsFromStock.Quantity = quantity; materialsFromStock.IssuedDate = issuedDate; materialsFromStock.MaterialStockID = materialStockID; materialsFromStock.FromOrderID = fromOrderID; materialsFromStock.ToOrderID = toOrderID; return materialsFromStock; }