BTW; check this example:
http://code.google.com/p/unhaddins/source/browse/trunk/Examples/uNHAddins.Examples.SessionManagement/SessionManagement.Domain/PurchaseOrder.cs
<http://code.google.com/p/unhaddins/source/browse/trunk/Examples/uNHAddins.Examples.SessionManagement/SessionManagement.Domain/PurchaseOrder.cs>

2009/10/15 José F. Romaniello <[email protected]>

> If the collection is readonly, you could do something like this:
>
> public class SomeClass{
>
> private IList< SomeChild > myColl;
>
>
> public ReadOnlyCollection<SomeChild> MyColl
>
> {
>
> get { return new ReadOnlyCollection(myColl);
> }
>
> }
>
> }
>
> And use the access="field".... Otherwise show me your class and I will help
> you.
>
>
>
>
>
>
> 2009/10/15 Ollie Riches <[email protected]>
>
>
>> Does NH support using ReadOnlyObservableCollection<> &
>> ReadOnlyCollection<> collection as the Property for collection instead
>> of IList<>
>>
>>
>> Thanks in advance
>>
>>
>> Ollie
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to