Вопрос

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

Это было полезно?

Решение

Just use the MapIgnore attribute

[MapIgnore()]
public string Something {get; set;}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top