"When you call the New operator on a class, it will be allocated on the heap. However, when you instantiate a struct, it gets created on the stack." 2009/6/17 epitka <[email protected]>
> > Also, I don't think stack vs. heap is an issue here at all, since > structure is declared as part of reference type so it will live on the > heap, not on the stack. > > On Jun 17, 11:36 am, Fabio Maulo <[email protected]> wrote: > > stack instead heap ? > > > > 2009/6/17 epitka <[email protected]> > > > > > > > > > If one creates a structure instead of class to represent a > > > "component", then it can be mapped using "Map" instead of > > > "Component" (Fluent NHibernate) > > > syntax. It works for reads but I wonder if there are any concerns as > > > far as updates are concerned, or anything else that might cause > > > problems? > > > > -- > > Fabio Maulo > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
