Now when i converted from 4.3 to final 4.4 (build 7229) it broke my app in section where i using Mapper.Transform to convert real Entity object to mirror DTO object.

Method Mapper.Transform throws error The type Model.MyEntity hasn't been registered., but when i debug app then in quickwatch window variable of type MappingDescription passed to Mapper contains in property SourceTypes my entity Model.MyEntity and also in property TargetTypes contains my DTO type Model.MyEntityDto.

Stack trace (but i dont think its helpfull here):

   at Xtensive.ObjectMapping.Model.MappingDescription.ThrowTypeHasNotBeenRegistered(Type type)
   at Xtensive.ObjectMapping.GraphTransformer.RegisterEnumerable(Object source, Type sourceSystemType)
   at Xtensive.ObjectMapping.GraphTransformer.Transform(Object source)
   at Model.Logic.Repository.AsDto[TResultDto](EntityBase entity)

Please help, because this error breaks down my application!

asked Feb 15 '11 at 03:45

Peter%20%C5%A0ulek's gravatar image

Peter Šulek

edited Feb 15 '11 at 03:46

Hello, Peter Could you please send us a sample that reproduces such error for further investigation. Thanks in advance.

(Feb 15 '11 at 04:13) Alexis Kochetov Alexis%20Kochetov's gravatar image

Thats happen on our company project and i cant send you sources/binaries. I will try to make some small demo project.

(Feb 15 '11 at 04:20) Peter Šulek Peter%20%C5%A0ulek's gravatar image

One Answer:

The issue with O2O mapping has been successfully resolved. Thank you for cooperation!

answered Feb 17 '11 at 09:36

Alexis%20Kochetov's gravatar image

Alexis Kochetov

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