示例#1
0
 /// <summary>
 /// Create a new Feature object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Feature CreateFeature(global::System.Int32 id)
 {
     Feature feature = new Feature();
     feature.ID = id;
     return feature;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Features EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeatures(Feature feature)
 {
     base.AddObject("Features", feature);
 }