コード例 #1
0
 /// <summary>
 /// Create a new UserBackgroundCheck object.
 /// </summary>
 /// <param name="userBackgroundCheckId">Initial value of the UserBackgroundCheckId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="landlordUserId">Initial value of the LandlordUserId property.</param>
 /// <param name="postDateUtc">Initial value of the PostDateUtc property.</param>
 /// <param name="isFelon">Initial value of the IsFelon 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 UserBackgroundCheck CreateUserBackgroundCheck(global::System.Int32 userBackgroundCheckId, global::System.Guid userId, global::System.Guid landlordUserId, global::System.DateTime postDateUtc, global::System.Boolean isFelon, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     UserBackgroundCheck userBackgroundCheck = new UserBackgroundCheck();
     userBackgroundCheck.UserBackgroundCheckId = userBackgroundCheckId;
     userBackgroundCheck.UserId = userId;
     userBackgroundCheck.LandlordUserId = landlordUserId;
     userBackgroundCheck.PostDateUtc = postDateUtc;
     userBackgroundCheck.IsFelon = isFelon;
     userBackgroundCheck.CreateDate = createDate;
     userBackgroundCheck.CreatedBy = createdBy;
     userBackgroundCheck.IsDeleted = isDeleted;
     return userBackgroundCheck;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserBackgroundChecks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserBackgroundChecks(UserBackgroundCheck userBackgroundCheck)
 {
     base.AddObject("UserBackgroundChecks", userBackgroundCheck);
 }