/// <summary>
 /// Sets the value of the <c>&lt;ItemCategory&gt;</c> element.
 /// </summary>
 /// <param name="val">A FoodCategoryName object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "
 ///         The category is derived from the Child Nutrition Database's food category codes/names (Source: Food Category Name File [CNDB]).
 ///         Agents may use the actual codes or a district's local definition of the names associated with the codes.
 ///         The Child Nutrition Database [CNDB] is updated on a yearly basis by the USDA.
 ///       "</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetItemCategory( FoodCategoryName val )
 {
     SetField( FoodDTD.FOODSERVICEITEM_ITEMCATEGORY, val );
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;ItemCategory&gt;</c> element.
 /// </summary>
 /// <param name="val">A FoodCategoryName object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "
 ///         The category is derived from the Child Nutrition Database's food category codes/names (Source: Food Category Name File [CNDB]).
 ///         Agents may use the actual codes or a district's local definition of the names associated with the codes.
 ///         The Child Nutrition Database [CNDB] is updated on a yearly basis by the USDA.
 ///       "</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetItemCategory(FoodCategoryName val)
 {
     SetField(FoodDTD.FOODSERVICEITEM_ITEMCATEGORY, val);
 }