/// <summary> /// Deprecated Method for adding a new object to the SelectionMethods EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSelectionMethods(SelectionMethod selectionMethod) { base.AddObject("SelectionMethods", selectionMethod); }
/// <summary> /// Create a new SelectionMethod object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static SelectionMethod CreateSelectionMethod(global::System.Int32 id, global::System.String name) { SelectionMethod selectionMethod = new SelectionMethod(); selectionMethod.Id = id; selectionMethod.Name = name; return selectionMethod; }