M
Mark Olbert
I am trying to extend a table entity class (generated from the visual designer for data contexts) with a property that has no
corresponding column in the underlying Sql Server table.
When I do this, I get a NotSupportedException complaining that the property I added has no supported translation to the database.
The documentation implies that properties not marked with the Column attribute will be ignored when interfacing to the
database...but that's not what appears to be happening.
Is there some other attribute I need to decorate the property with to have the property "skipped"? Or is it just not possible to add
properties to table entity classes using partial classes? If that's the case, the documentation should make that clear.
- Mark
corresponding column in the underlying Sql Server table.
When I do this, I get a NotSupportedException complaining that the property I added has no supported translation to the database.
The documentation implies that properties not marked with the Column attribute will be ignored when interfacing to the
database...but that's not what appears to be happening.
Is there some other attribute I need to decorate the property with to have the property "skipped"? Or is it just not possible to add
properties to table entity classes using partial classes? If that's the case, the documentation should make that clear.
- Mark