Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Status EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatus(Status status)
 {
     base.AddObject("Status", status);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Status 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 Status CreateStatus(global::System.Int32 id, global::System.String name, global::System.Int32 order, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.Byte[] rowVersion)
 {
     Status status = new Status();
     status.Id = id;
     status.Name = name;
     status.Order = order;
     status.CreatedDate = createdDate;
     status.ModifiedDate = modifiedDate;
     status.RowVersion = rowVersion;
     return status;
 }