示例#1
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);
 }
示例#2
0
 /// <summary>
 /// Create a new Priority object.
 /// </summary>
 /// <param name="priorityID">Initial value of the PriorityID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="color">Initial value of the Color property.</param>
 public static Priority CreatePriority(global::System.Int32 priorityID, global::System.String name, global::System.String color)
 {
     Priority priority = new Priority();
     priority.PriorityID = priorityID;
     priority.Name = name;
     priority.Color = color;
     return priority;
 }