modelmetadataprovider Questions

2

In Entity Framework 6 I could get the ModelMetadata for a class (myModel) like this: var modelMetadata = ModelMetadataProviders.Current.GetMetadataForType(null, myModel.GetType()); How can I do ...

3

Solved

I use AutoMapper to map my domain objects to my view models. I have metadata in my domain layer, that I would like to carry over to the view layer and into ModelMetadata. (This metadata is not UI l...

2

One of the key features of a project I'm working on is the ability for the user to configure Forms (as in "Forms" to fill-up) based on a pool of pre-existing field types (well known types, for inst...
Lewandowski asked 14/9, 2012 at 14:32
1

© 2022 - 2024 — McMap. All rights reserved.