The code looks like this:

public class Hierarchy : Structure
    [Field(Indexed = true, Nullable = true)]
    public Guid? RootId { get; set; }

During domain build I get this error:

Xtensive.Orm.DomainBuilderException: Index with name 'IX_Hierarchy_RootId' is already registered.
at Xtensive.Orm.Building.Builders.TypeBuilder.BuildNestedFields(BuildingContext context, FieldInfo source, FieldInfo target, IEnumerable`1 fields)

asked May 05 '12 at 10:23

xumix's gravatar image


edited May 05 '12 at 10:23

One Answer:

Thanks for the report. Bug is fixed now. It will be included in the next minor update for all versions.

answered May 12 '12 at 04:20

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov

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