コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DimGeographies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDimGeographies(DimGeography dimGeography)
 {
     base.AddObject("DimGeographies", dimGeography);
 }
コード例 #2
0
 /// <summary>
 /// Create a new DimGeography object.
 /// </summary>
 /// <param name="geographyKey">Initial value of the GeographyKey property.</param>
 public static DimGeography CreateDimGeography(global::System.Int32 geographyKey)
 {
     DimGeography dimGeography = new DimGeography();
     dimGeography.GeographyKey = geographyKey;
     return dimGeography;
 }