/// <summary> /// Create a new UserCreditCheck object. /// </summary> /// <param name="userCreditCheckId">Initial value of the UserCreditCheckId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="landlordUserId">Initial value of the LandlordUserId property.</param> /// <param name="provider">Initial value of the Provider property.</param> /// <param name="postDateUtc">Initial value of the PostDateUtc 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 UserCreditCheck CreateUserCreditCheck(global::System.Int32 userCreditCheckId, global::System.Guid userId, global::System.Guid landlordUserId, global::System.String provider, global::System.DateTime postDateUtc, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted) { UserCreditCheck userCreditCheck = new UserCreditCheck(); userCreditCheck.UserCreditCheckId = userCreditCheckId; userCreditCheck.UserId = userId; userCreditCheck.LandlordUserId = landlordUserId; userCreditCheck.Provider = provider; userCreditCheck.PostDateUtc = postDateUtc; userCreditCheck.CreateDate = createDate; userCreditCheck.CreatedBy = createdBy; userCreditCheck.IsDeleted = isDeleted; return userCreditCheck; }
/// <summary> /// Deprecated Method for adding a new object to the UserCreditChecks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserCreditChecks(UserCreditCheck userCreditCheck) { base.AddObject("UserCreditChecks", userCreditCheck); }