Question

is there any way in bltoolkit how to add to an entity property which is not mapped to the database table?

something like:

[NoMap()]
public string Something {get; set;}

? Thanks

Était-ce utile?

La solution

Just use the MapIgnore attribute

[MapIgnore()]
public string Something {get; set;}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top