Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Priorities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPriorities(Priority priority)
 {
     base.AddObject("Priorities", priority);
 }