コード例 #1
0
 /// <summary>
 /// Create a new UserContractAnswer object.
 /// </summary>
 /// <param name="userContractAnswersId">Initial value of the UserContractAnswersId property.</param>
 /// <param name="userContractId">Initial value of the UserContractId property.</param>
 /// <param name="answerId">Initial value of the AnswerId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static UserContractAnswer CreateUserContractAnswer(global::System.Int32 userContractAnswersId, global::System.Int32 userContractId, global::System.Int32 answerId, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     UserContractAnswer userContractAnswer = new UserContractAnswer();
     userContractAnswer.UserContractAnswersId = userContractAnswersId;
     userContractAnswer.UserContractId = userContractId;
     userContractAnswer.AnswerId = answerId;
     userContractAnswer.CreateDate = createDate;
     userContractAnswer.CreatedBy = createdBy;
     userContractAnswer.IsDeleted = isDeleted;
     return userContractAnswer;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserContractAnswers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserContractAnswers(UserContractAnswer userContractAnswer)
 {
     base.AddObject("UserContractAnswers", userContractAnswer);
 }