/// <summary> /// Create a new BuildingCount object. /// </summary> /// <param name="buildingId">Initial value of the BuildingId property.</param> /// <param name="searchCount">Initial value of the SearchCount property.</param> /// <param name="viewCount">Initial value of the ViewCount property.</param> public static BuildingCount CreateBuildingCount(global::System.Int64 buildingId, global::System.Int32 searchCount, global::System.Int32 viewCount) { BuildingCount buildingCount = new BuildingCount(); buildingCount.BuildingId = buildingId; buildingCount.SearchCount = searchCount; buildingCount.ViewCount = viewCount; return buildingCount; }
/// <summary> /// Deprecated Method for adding a new object to the BuildingCounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBuildingCounts(BuildingCount buildingCount) { base.AddObject("BuildingCounts", buildingCount); }