Board index » delphi » Re: Generics + D2007/win32
Robert Giesecke
![]() Delphi Developer |
Re: Generics + D2007/win322006-06-05 05:09:40 AM delphi159 You wrote before: Quote
needed to do this. Jeroen Vandezande writes: Quote
In this case, the query will return an IEnumerable<XElement>which can be placed as the 2nd parameter of the outer XElement's constructor. (named "result") db.Customers is a class, that has some attributes on it to provide the data base provider with all infos to map element properties to columns or what table is to be used. Queries on in-memory data structures can be done w/o any Reflection. However, I don't know how efficient this could be. Compared to little more "hand crafted" code. |