/// <summary> /// Deprecated Method for adding a new object to the Priorities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPriorities(Priority priority) { base.AddObject("Priorities", priority); }
/// <summary> /// Create a new Priority object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="displayOrder">Initial value of the DisplayOrder property.</param> public static Priority CreatePriority(global::System.Int32 id, global::System.Int32 displayOrder) { Priority priority = new Priority(); priority.Id = id; priority.DisplayOrder = displayOrder; return priority; }