It really depends on your needs...

A good starting point is the types from
http://unhaddins.googlecode.com/svn/trunk/uNhAddIns/uNhAddIns.Entities,

In my case, I don't override Equals on the base Entity, but in a derived
class.

Useful additions:
- Overriding ToString to show the entity type with its Id (upcoming blog
post)
- Exposing a real entity backdoor to deal with lazy loaded inheritance (see
http://sessionfactory.blogspot.com/2010/08/hacking-lazy-loaded-inheritance.html
)

    Diego


On Fri, Aug 20, 2010 at 17:25, Raul Carlomagno <[email protected]>wrote:

> commonly in our applications we define a BaseEntity so our domain
> classes inherit from it, giving us a few advantages. have u got any
> BaseEntity to show me? mines is basic and i extracted ideas from other
> people, in the other side for example, i took a look to S#arp
> Architecture's BaseEntity, very complex for my requirements, but with
> lots of features. can you tell,show me, or recommend your base entity
> for your domain classes?
>
> --
> 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.

Reply via email to