/// <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); }
/// <summary> /// Create a new Feature object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="listOrder">Initial value of the ListOrder property.</param> public static Feature CreateFeature(global::System.String name, global::System.String displayName, global::System.String description, global::System.Int32 listOrder) { Feature feature = new Feature(); feature.Name = name; feature.DisplayName = displayName; feature.Description = description; feature.ListOrder = listOrder; return feature; }