public ICollection<TaskTimePlan> Find( IEntityFilter filter, FetchOptions fetchOptions )
Fing objects according to fetch options and filter
Syntax
public ICollection<TaskTimePlan> Find( IEntityFilter filter, FetchOptions fetchOptions )
Parameters
- filter
- Type: IEntityFilter
Object Filter
- fetchOptions
- Type: FetchOptions
Fetch Options (to get all the results from database, use All)
Return Value
Type: ICollection TaskTimePlanList of Found Objects
Examples
//Create a filter (for a document, in this case) var docFilter = PublicAPI.Docflow.Document.CreateFilter(); //Select fetch criteria docFilter.Folder = PublicAPI.Docflow.Folder.LoadOrNull(35); docFilter.Name = "Document dated 10.07.1991"; //Transfer the filter to the search function //documents - list of documents, which meet the filter fetch condition var documents = PublicAPI.Docflow.Document.Find(docFilter, null);
See Also