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