public abstract class EntityBase : Entity
    [Field, Key]
    public int Id { get; private set; }

public class ConcreteEntity : EntityBase 
    // ...

DO creates a table for both EntityBase and ConcreteEntity. Why? Is it possible not to create the table for the abstract class (EntityBase)?

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked May 19 '10 at 05:33

ara's gravatar image


One Answer:

Definitely a bug, although quite innocent.

I've opened the following issue: http://code.google.com/p/dataobjectsdot ... ail?id=658

Can't promise that it'll be fixed asap.

answered May 19 '10 at 08:52

Dmitri%20Maximov's gravatar image

Dmitri Maximov

The issue is fixed today.

(May 19 '10 at 08:52) Dmitri Maximov Dmitri%20Maximov's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA