/// <summary> /// Create a new SearchFor object. /// </summary> /// <param name="activitySearchID">Initial value of the ActivitySearchID property.</param> /// <param name="appEntityID">Initial value of the AppEntityID property.</param> /// <param name="searchForID">Initial value of the SearchForID property.</param> /// <param name="searchDateTime">Initial value of the SearchDateTime property.</param> public static SearchFor CreateSearchFor(global::System.Int32 activitySearchID, global::System.Int32 appEntityID, global::System.Int32 searchForID, global::System.DateTime searchDateTime) { SearchFor searchFor = new SearchFor(); searchFor.ActivitySearchID = activitySearchID; searchFor.AppEntityID = appEntityID; searchFor.SearchForID = searchForID; searchFor.SearchDateTime = searchDateTime; return(searchFor); }
/// <summary> /// Deprecated Method for adding a new object to the SearchFors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSearchFors(SearchFor searchFor) { base.AddObject("SearchFors", searchFor); }