Original code:

[HierarchyRoot]
public class BaseEntity : Entity
{
    [Field, Key]
    public int Id { get; private set; }
    [Field]    
    public Status Status { get; set; }
}

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

    [Field(Length = 100)]
    public string Text { get; set; }
    [Field]    
    public Status Status { get; set; }
}

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

    [Field(Length = 100)]
    public string Text { get; set; }
}

New code:

public class MyEntity : BaseEntity
{
    [Field(Length = 100)]
    public string Text { get; set; }
}

I have tried all the remove/move/renameField hints, but they dont work, it says:

Unsafe actions:
  RemoveNode, Path=Tables/MyEntity/Columns/Status.Id

asked Sep 30 '11 at 04:15

xumix's gravatar image

xumix
425737682

edited Sep 30 '11 at 04:17


One Answer:

This is fixed in the new build.

answered Oct 05 '11 at 09:08

xumix's gravatar image

xumix
425737682

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