/// <summary> /// Create a new Priority object. /// </summary> /// <param name="priorityID">Initial value of the PriorityID property.</param> /// <param name="priorityName">Initial value of the PriorityName property.</param> public static Priority CreatePriority(global::System.Int32 priorityID, global::System.String priorityName) { Priority priority = new Priority(); priority.PriorityID = priorityID; priority.PriorityName = priorityName; return priority; }
/// <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); }