Ein RecipeItem verknüpft ein ProductionItem mit einer Menge und gehört zu einem Rezept
Inheritance: DomainEntity
Example #1
0
 public Stock FindStockFor(RecipeJob recipeJob, RecipeItem recipeItem)
 {
     Stock stock = null;
     _dbConversation.UsingTransaction(()=>
         {
             stock = _dbConversation.Query(new FindStockForRecipeItemQuery(recipeItem));
         });
     return stock;
 }
Example #2
0
 public virtual void RemoveRecipeItem(RecipeItem recipeItem)
 {
     _recipeItems.Remove(recipeItem);
 }
Example #3
0
 public virtual void AddRecipeItem(RecipeItem recipeItem)
 {
     recipeItem.ProductionItem = this;
     _recipeItems.Add(recipeItem);
 }
Example #4
0
 public EditRecipeItem(RecipeItem recipeItem)
 {
     RecipeItem = recipeItem;
 }
 public SingleRecipeItemViewModel(RecipeItem editRecipeItem)
 {
     _editRecipeItem = new EditRecipeItem(editRecipeItem);
 }
Example #6
0
 public virtual void AddRecipeItem(RecipeItem recipeItem)
 {
     recipeItem.Recipe = this;
     _recipeItems.Add(recipeItem);
 }