示例#1
0
 /// <summary>
 /// Create a new ApprovalStatus object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static ApprovalStatus CreateApprovalStatus(global::System.Int32 id, global::System.String status)
 {
     ApprovalStatus approvalStatus = new ApprovalStatus();
     approvalStatus.Id = id;
     approvalStatus.Status = status;
     return approvalStatus;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApprovalStatuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApprovalStatuses(ApprovalStatus approvalStatus)
 {
     base.AddObject("ApprovalStatuses", approvalStatus);
 }