Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Requirement EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRequirement(Requirement requirement)
 {
     base.AddObject("Requirement", requirement);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Requirement object.
 /// </summary>
 /// <param name="requirementId">Initial value of the RequirementId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="updatedOn">Initial value of the UpdatedOn property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static Requirement CreateRequirement(global::System.Int64 requirementId, global::System.Int64 userId, global::System.String title, global::System.String description, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.Int64 createdBy, global::System.Int64 updatedBy, global::System.Boolean isActive, global::System.Boolean isDeleted)
 {
     Requirement requirement = new Requirement();
     requirement.RequirementId = requirementId;
     requirement.UserId = userId;
     requirement.Title = title;
     requirement.Description = description;
     requirement.CreatedOn = createdOn;
     requirement.UpdatedOn = updatedOn;
     requirement.CreatedBy = createdBy;
     requirement.UpdatedBy = updatedBy;
     requirement.IsActive = isActive;
     requirement.IsDeleted = isDeleted;
     return requirement;
 }