1) Yes, it is possible. You can specify that the backing field (even
private) is used for storing instead of the public getter property;
2) Yes, if you have mapped also their types as persistent classes.
RP
On Friday, April 5, 2013 11:37:15 AM UTC+1, SunnyTyra wrote:
>
> Following is my Type/Class structure:
>
>
> public class MyParentCustom : IMyType
>
> {
>
> public MyChildCustom1 ChildCustom1 { get; set; }
>
> public MyChildCustom2 ChildCustom2 { get; set; }
>
> public MyChildCustom3 ChildCustom3 { get; set; }
>
> private MyChildCustom4 _childCustom4 = null;
>
> public MyChildCustom4 ChildCustom4
>
> {
>
> get { return _childCustom4; }
>
> }
>
> }
>
>
>
> 1) Is it possible to store(persist) an object of a class mentioned above?
> My understanding is that ChildCustom4 will not be stored or it will not
> retrievesince its just getter .
>
> 2) What if once all the types are stored and I closed the applciation and
> retrieve the information again. Would it be creating MyParentCustom ,
> ChildCustom1 , ChildCustom2, ChildCustom3 as it is?
>
>
>
>
>
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.