Domanda

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

È stato utile?

Soluzione

Just use the MapIgnore attribute

[MapIgnore()]
public string Something {get; set;}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top