コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuSelections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuSelections(MenuSelection menuSelection)
 {
     base.AddObject("MenuSelections", menuSelection);
 }
コード例 #2
0
 /// <summary>
 /// Create a new MenuSelection object.
 /// </summary>
 /// <param name="menu">Initial value of the Menu property.</param>
 /// <param name="selection">Initial value of the Selection property.</param>
 /// <param name="levelNo">Initial value of the LevelNo property.</param>
 /// <param name="presentation">Initial value of the Presentation property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static MenuSelection CreateMenuSelection(global::System.String menu, global::System.String selection, global::System.String levelNo, global::System.String presentation, global::System.String userId, global::System.DateTime logDate)
 {
     MenuSelection menuSelection = new MenuSelection();
     menuSelection.Menu = menu;
     menuSelection.Selection = selection;
     menuSelection.LevelNo = levelNo;
     menuSelection.Presentation = presentation;
     menuSelection.UserId = userId;
     menuSelection.LogDate = logDate;
     return menuSelection;
 }