Beispiel #1
0
 /// <summary>
 /// Create a new Priority object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Priority CreatePriority(global::System.Int32 id, global::System.String name, global::System.Int32 order, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.Byte[] rowVersion)
 {
     Priority priority = new Priority();
     priority.Id = id;
     priority.Name = name;
     priority.Order = order;
     priority.CreatedDate = createdDate;
     priority.ModifiedDate = modifiedDate;
     priority.RowVersion = rowVersion;
     return priority;
 }
Beispiel #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);
 }