Пример #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="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="applicationSubmitted">Initial value of the ApplicationSubmitted property.</param>
 public static UserInterest CreateUserInterest(global::System.Int32 userInterestId, global::System.Int32 userId, global::System.Int64 buildingId, global::System.Boolean applicationSubmitted)
 {
     UserInterest userInterest = new UserInterest();
     userInterest.UserInterestId = userInterestId;
     userInterest.UserId = userId;
     userInterest.BuildingId = buildingId;
     userInterest.ApplicationSubmitted = applicationSubmitted;
     return userInterest;
 }
Пример #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);
 }