コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BuildingCounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBuildingCounts(BuildingCount buildingCount)
 {
     base.AddObject("BuildingCounts", buildingCount);
 }