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

Was it helpful?

Solution

Just use the MapIgnore attribute

[MapIgnore()]
public string Something {get; set;}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top