/// <summary> /// Deprecated Method for adding a new object to the DistinctByOriginAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDistinctByOriginAddresses(DistinctByOriginAddress distinctByOriginAddress) { base.AddObject("DistinctByOriginAddresses", distinctByOriginAddress); }
/// <summary> /// Create a new DistinctByOriginAddress 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 DistinctByOriginAddress CreateDistinctByOriginAddress(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) { DistinctByOriginAddress distinctByOriginAddress = new DistinctByOriginAddress(); distinctByOriginAddress.ApartmentId = apartmentId; distinctByOriginAddress.ResidentialId = residentialId; distinctByOriginAddress.RoomType = roomType; distinctByOriginAddress.Area = area; distinctByOriginAddress.SellType = sellType; distinctByOriginAddress.RegionType = regionType; distinctByOriginAddress.OperateUser = operateUser; distinctByOriginAddress.OperateTime = operateTime; return distinctByOriginAddress; }