Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuSections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuSections(MenuSection menuSection)
 {
     base.AddObject("MenuSections", menuSection);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new MenuSection object.
 /// </summary>
 /// <param name="sectionID">Initial value of the SectionID property.</param>
 /// <param name="sectionName">Initial value of the SectionName property.</param>
 /// <param name="orderNumber">Initial value of the OrderNumber property.</param>
 public static MenuSection CreateMenuSection(global::System.Int32 sectionID, global::System.String sectionName, global::System.String orderNumber)
 {
     MenuSection menuSection = new MenuSection();
     menuSection.SectionID = sectionID;
     menuSection.SectionName = sectionName;
     menuSection.OrderNumber = orderNumber;
     return menuSection;
 }