/// <summary> /// Create a new StatisticsConsumerView 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="regionType">Initial value of the RegionType property.</param> /// <param name="operateUser">Initial value of the OperateUser property.</param> public static StatisticsConsumerView CreateStatisticsConsumerView(global::System.Int32 apartmentId, global::System.Int32 residentialId, global::System.String roomType, global::System.Double area, global::System.String regionType, global::System.String operateUser) { StatisticsConsumerView statisticsConsumerView = new StatisticsConsumerView(); statisticsConsumerView.ApartmentId = apartmentId; statisticsConsumerView.ResidentialId = residentialId; statisticsConsumerView.RoomType = roomType; statisticsConsumerView.Area = area; statisticsConsumerView.RegionType = regionType; statisticsConsumerView.OperateUser = operateUser; return statisticsConsumerView; }
/// <summary> /// Deprecated Method for adding a new object to the StatisticsConsumerViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStatisticsConsumerViews(StatisticsConsumerView statisticsConsumerView) { base.AddObject("StatisticsConsumerViews", statisticsConsumerView); }