예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the IngredientSubTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIngredientSubTypes(IngredientSubType ingredientSubType)
 {
     base.AddObject("IngredientSubTypes", ingredientSubType);
 }
예제 #2
0
 /// <summary>
 /// Create a new IngredientSubType object.
 /// </summary>
 /// <param name="ingredientSubTypeId">Initial value of the IngredientSubTypeId property.</param>
 public static IngredientSubType CreateIngredientSubType(global::System.Int32 ingredientSubTypeId)
 {
     IngredientSubType ingredientSubType = new IngredientSubType();
     ingredientSubType.IngredientSubTypeId = ingredientSubTypeId;
     return ingredientSubType;
 }