문제

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