Ejemplo n.º 1
0
 /// <summary>
 /// Create a new UserInterest object.
 /// </summary>
 /// <param name="userInterestId">Initial value of the UserInterestId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="landlordUserId">Initial value of the LandlordUserId property.</param>
 /// <param name="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="showApplicationInfo">Initial value of the ShowApplicationInfo property.</param>
 /// <param name="allowBackgroundCheck">Initial value of the AllowBackgroundCheck 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 UserInterest CreateUserInterest(global::System.Int32 userInterestId, global::System.Guid userId, global::System.Guid landlordUserId, global::System.Int64 buildingId, global::System.Boolean showApplicationInfo, global::System.Boolean allowBackgroundCheck, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     UserInterest userInterest = new UserInterest();
     userInterest.UserInterestId = userInterestId;
     userInterest.UserId = userId;
     userInterest.LandlordUserId = landlordUserId;
     userInterest.BuildingId = buildingId;
     userInterest.ShowApplicationInfo = showApplicationInfo;
     userInterest.AllowBackgroundCheck = allowBackgroundCheck;
     userInterest.CreateDate = createDate;
     userInterest.CreatedBy = createdBy;
     userInterest.IsDeleted = isDeleted;
     return userInterest;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserInterests EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserInterests(UserInterest userInterest)
 {
     base.AddObject("UserInterests", userInterest);
 }