/// <summary>
 /// Deprecated Method for adding a new object to the DistinctByRealEstateIds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDistinctByRealEstateIds(DistinctByRealEstateId distinctByRealEstateId)
 {
     base.AddObject("DistinctByRealEstateIds", distinctByRealEstateId);
 }
 /// <summary>
 /// Create a new DistinctByRealEstateId object.
 /// </summary>
 /// <param name="apartmentId">Initial value of the ApartmentId property.</param>
 /// <param name="residentialId">Initial value of the ResidentialId property.</param>
 /// <param name="roomType">Initial value of the RoomType property.</param>
 /// <param name="area">Initial value of the Area property.</param>
 /// <param name="sellType">Initial value of the SellType property.</param>
 /// <param name="regionType">Initial value of the RegionType property.</param>
 /// <param name="operateUser">Initial value of the OperateUser property.</param>
 /// <param name="operateTime">Initial value of the OperateTime property.</param>
 public static DistinctByRealEstateId CreateDistinctByRealEstateId(global::System.Int32 apartmentId, global::System.Int32 residentialId, global::System.String roomType, global::System.Double area, global::System.String sellType, global::System.String regionType, global::System.String operateUser, global::System.DateTime operateTime)
 {
     DistinctByRealEstateId distinctByRealEstateId = new DistinctByRealEstateId();
     distinctByRealEstateId.ApartmentId = apartmentId;
     distinctByRealEstateId.ResidentialId = residentialId;
     distinctByRealEstateId.RoomType = roomType;
     distinctByRealEstateId.Area = area;
     distinctByRealEstateId.SellType = sellType;
     distinctByRealEstateId.RegionType = regionType;
     distinctByRealEstateId.OperateUser = operateUser;
     distinctByRealEstateId.OperateTime = operateTime;
     return distinctByRealEstateId;
 }