/// <summary> /// Create a new Filter object. /// </summary> /// <param name="filterID">Initial value of the FilterID property.</param> /// <param name="filterName">Initial value of the FilterName property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="isShared">Initial value of the IsShared property.</param> /// <param name="filterType">Initial value of the FilterType property.</param> public static Filter CreateFilter(global::System.Int32 filterID, global::System.String filterName, global::System.Int32 userID, global::System.Boolean isShared, global::System.Byte filterType) { Filter filter = new Filter(); filter.FilterID = filterID; filter.FilterName = filterName; filter.UserID = userID; filter.IsShared = isShared; filter.FilterType = filterType; return filter; }
/// <summary> /// Deprecated Method for adding a new object to the Filters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFilters(Filter filter) { base.AddObject("Filters", filter); }