Converts the results stored in an IList to an
strongly-typed array.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
[ObsoleteAttribute("Use SupportingUtils.BuildArray directly")] protected Array GetResultsArray( Type t, IList list, bool distinct ) |
Parameters
- t
- Type
The type of the new array
- list
- IList
The source list
- distinct
- Boolean
If true, only distinct results will be inserted in the array
Return Value
The strongly-typed array
See Also
ActiveRecordBaseQuery Class
Castle.ActiveRecord Namespace