Product Tour
     Back to Olero Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 Next Close Window    

 

Step 11 - Using Collections with ORM.NET

ORM.NET table objects wrap the ADO.NET DataRow object. ORM.NET Collections, therefore, manage a collection of DataRow objects with added functionality.

Filter by any of the column properties and use the CompareType enumerator to wildcard matches.
Likewise, there is a separate SortBy method for each column property that takes a SortDirection enumerator.
Find and return a single object within the Collection using the FindBy methods for each Property associated with the object.