Current implementation calls the ToModel extension methods directly in LINQ-statements which makes it impossible to map the entity to an extended model. Our scenario is that we have additional properties in the models (using the Properties collection for storage) which is used in CIBA and other customizations of the built-in support. To use our extended model we are required to do another mapping.
By adding a ToXxxModel in the store classes and adding generic ToModel mappers it will be a lot easier to extend the models and still only have a single mapping.
Current implementation calls the ToModel extension methods directly in LINQ-statements which makes it impossible to map the entity to an extended model. Our scenario is that we have additional properties in the models (using the Properties collection for storage) which is used in CIBA and other customizations of the built-in support. To use our extended model we are required to do another mapping.
By adding a ToXxxModel in the store classes and adding generic ToModel mappers it will be a lot easier to extend the models and still only have a single mapping.