Exemplo n.º 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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Priority object.
 /// </summary>
 /// <param name="code">Initial value of the code property.</param>
 /// <param name="description">Initial value of the description property.</param>
 /// <param name="sortIndex">Initial value of the sortIndex property.</param>
 /// <param name="active_p">Initial value of the active_p property.</param>
 public static Priority CreatePriority(global::System.String code, global::System.String description, global::System.Int16 sortIndex, global::System.String active_p)
 {
     Priority priority = new Priority();
     priority.code = code;
     priority.description = description;
     priority.sortIndex = sortIndex;
     priority.active_p = active_p;
     return priority;
 }