For DO 4.4?

Before we used :


(We use this only for information)

asked Feb 25 '11 at 11:36

olorin's gravatar image


edited Feb 25 '11 at 11:42

One Answer:

The NameBuilder property is removed from the Domain class.

For now in version 4.4 it can be accessible only via Reflection by the following path: Domain.Handlers.NameBuilder, where Domain.Handlers is internal property and is of Xtensive.Storage.Providers.HandlerAccessor type. HandlerAccessor.NameBuilder itself is a public property.

As the service is usable from outside the core of the framework, I think that there should be the following way to access the name builder service:


If this option is suitable, we could implement this shortly.

answered Feb 25 '11 at 11:48

Dmitri%20Maximov's gravatar image

Dmitri Maximov

edited Feb 25 '11 at 14:30

Implemented in revision 7266

(Mar 02 '11 at 10:22) Dmitri Maximov Dmitri%20Maximov's gravatar image

Actually, the best way is to get primary index for given type and use its MappingName property (typeInfo.Indexes.Primary.MappingName).

Note that this is dependent on inheritance mapping as well: in case of table per hierarchy inheritance mapping you need to use typeInfo.Indexes.Primary.UnderlyingIndexes[0].MappingName.

(Mar 02 '11 at 14:09) Alex Yakunin Alex%20Yakunin's gravatar image

The binaries are published.

See 'Nightly builds' section on the downloads page.

(Mar 05 '11 at 11:36) Dmitri Maximov Dmitri%20Maximov's gravatar image

Thanks for this details and code extension!

(Mar 11 '11 at 10:55) olorin olorin'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