Example #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);
 }
Example #2
0
 /// <summary>
 /// Create a new Priority object.
 /// </summary>
 /// <param name="ordinal">Initial value of the Ordinal property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="is_Default">Initial value of the Is_Default property.</param>
 /// <param name="due">Initial value of the Due property.</param>
 /// <param name="due_within">Initial value of the Due_within property.</param>
 /// <param name="due_within_time_period">Initial value of the Due_within_time_period property.</param>
 /// <param name="alert_within">Initial value of the Alert_within property.</param>
 /// <param name="alert_within_time_period">Initial value of the Alert_within_time_period property.</param>
 public static Priority CreatePriority(global::System.Byte ordinal, global::System.String name, global::System.Boolean is_Default, global::System.Byte due, global::System.Int16 due_within, global::System.Byte due_within_time_period, global::System.Int16 alert_within, global::System.Byte alert_within_time_period)
 {
     Priority priority = new Priority();
     priority.Ordinal = ordinal;
     priority.Name = name;
     priority.Is_Default = is_Default;
     priority.Due = due;
     priority.Due_within = due_within;
     priority.Due_within_time_period = due_within_time_period;
     priority.Alert_within = alert_within;
     priority.Alert_within_time_period = alert_within_time_period;
     return priority;
 }