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