Currently, domain build modes other than Recreate are not implemented. Upon domain building, tables always get rebuilt and any data is lost.

The source code clearly explains why

switch (context.Domain.Configuration.BuildMode)
    {
        case DomainBuildMode.Perform:
            context.Domain.Handler.BuildPerform();
            break;
        case DomainBuildMode.PerformStrict:
            throw new NotImplementedException();
        case DomainBuildMode.Recreate:
            context.Domain.Handler.BuildRecreate();
            break;
        case DomainBuildMode.BlockUpgrade:
            throw new NotImplementedException();
        default:
            throw new NotImplementedException();
    }

while BuildPerform() simply does BuildRecreate()

public override void BuildPerform()
{
    // todo: Implement
    BuildRecreate();
    // throw new System.NotImplementedException();
}

When is this going to be fixed? -- at least, is this a known issue planned for implementation?

IMHO, I would assign this an urgent priority... thnx

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

asked Feb 24 '09 at 00:37

Editor's gravatar image

Editor
46154156157


One Answer:

This isn't a bug: we really don't support schema evolution now.

We're going to eliminate this issue by the end of March 2009. LINQ and SE are of the top priority for us now.

answered Mar 02 '09 at 05:23

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412

Schema upgrade was implemented in v4.0 final.

(Mar 02 '09 at 05:23) Alex Yakunin Alex%20Yakunin'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

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×573

Asked: Feb 24 '09 at 00:37

Seen: 2,528 times

Last updated: Feb 24 '09 at 00:37

powered by OSQA