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