/// <summary> /// Create a new Feature object. /// </summary> /// <param name="featureID">Initial value of the FeatureID property.</param> /// <param name="metaFeatureID">Initial value of the MetaFeatureID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> public static Feature CreateFeature(global::System.Int32 featureID, global::System.Int32 metaFeatureID, global::System.Int32 productID) { Feature feature = new Feature(); feature.FeatureID = featureID; feature.MetaFeatureID = metaFeatureID; feature.ProductID = productID; return feature; }
/// <summary> /// Deprecated Method for adding a new object to the Features EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeatures(Feature feature) { base.AddObject("Features", feature); }