All you have to do is replace that List<Child> call with Enumerable<Child> (and, of course, the variable should be of type IEnumerable<Child>; you can use var and forget about that).
If the proxies are being initialized, there's something about your classes that you are not telling us. Diego On Tue, Jul 6, 2010 at 06:50, kor <[email protected]> wrote: > can you make an example? i try but i can't use enumerable to add items > to a collection without initialize them > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
