Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the IngredientTypeProperties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIngredientTypeProperties(IngredientTypeProperty ingredientTypeProperty)
 {
     base.AddObject("IngredientTypeProperties", ingredientTypeProperty);
 }
Пример #2
0
 /// <summary>
 /// Create a new IngredientTypeProperty object.
 /// </summary>
 /// <param name="ingredientTypePropertyId">Initial value of the IngredientTypePropertyId property.</param>
 /// <param name="ingredientTypeId">Initial value of the IngredientTypeId property.</param>
 public static IngredientTypeProperty CreateIngredientTypeProperty(global::System.Int32 ingredientTypePropertyId, global::System.Int32 ingredientTypeId)
 {
     IngredientTypeProperty ingredientTypeProperty = new IngredientTypeProperty();
     ingredientTypeProperty.IngredientTypePropertyId = ingredientTypePropertyId;
     ingredientTypeProperty.IngredientTypeId = ingredientTypeId;
     return ingredientTypeProperty;
 }