Performs a find which populates the collection.
| C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("The CurrentQuery should be set without passing in a QueryBuilder on the Find method.")] protected void Find( SQLBuilder sqlObj )
<ObsoleteAttribute("The CurrentQuery should be set without passing in a QueryBuilder on the Find method.")> _ Protected Sub Find ( _ sqlObj As SQLBuilder _ )
[ObsoleteAttribute(L"The CurrentQuery should be set without passing in a QueryBuilder on the Find method.")] protected: void Find( SQLBuilder^ sqlObj )
- sqlObj (SQLBuilder)
- Populated SQLBuilder
Performing a find will not load the actual DataObjects.
Instead, caching of actual data objects will occur on Item() access
or any method which acesses the items in the collection.
Dim sColl as New StudentCollection Dim mySql as SQLBuilder = sColl.GetSqlBuilder() mySql.addWhere(Student.Columns.Name, name) sColl.Find(mySql) For i as Integer = 0 to sColl.Length-1 Dim sObj as Student=sColl(i) .... Next