public RecipeDataGateway(IRecipeDataProvider recipeDataProvider, IComponentDataProvider componentDataProvider, IUnitDataProvider unitDataProvider, IIngredientDataProvider ingredientDataProvider) { this.recipeDataProvider = recipeDataProvider; this.componentDataProvider = componentDataProvider; this.unitDataProvider = unitDataProvider; this.ingredientDataProvider = ingredientDataProvider; }
public RecipeController() { DataProvider = BOLLayer.Instance.GetService <IRecipeDataProvider>(); }
public RecipeDataGateway(IRecipeDataProvider recipeDataProvider) { this.recipeDataProvider = recipeDataProvider; connection = new Lazy <OdbcConnection>(CreateConnection); }
public RecipeService(IIngredientService ingredientService, IRecipeDataProvider recipeDataProvider, IRecipeIngredientDataProvider recipeIngredientData) { IngredientService = ingredientService; RecipeDataProvider = recipeDataProvider; RecipeIngredientDataProvider = recipeIngredientData; }
public RecipeDataGateway(IRecipeDataProvider recipeDataProvider) { this.recipeDataProvider = recipeDataProvider; document = new Lazy <XmlDocument>(CreateDocument); }
public RecipeDataGatewayFactory(IRecipeDataProvider recipeDataProvider) { this.recipeDataProvider = recipeDataProvider; }