c# - Entity Framework - Version Property Name -


i'm searching getting concurrency fixed property name @ runtime through objectcontext don't find property or method able give me information.

is there way in order entity property name setted "concurrencymode=fixed"?

you can list of these properties querying conceptual model:

context.metadataworkspace.getitemcollection(dataspace.cspace)     .oftype<entitytype>()     .selectmany(entitytype => entitytype.properties)     .oftype<edmproperty>()     .where(ep => ep.typeusage.facets.any(f => f.name == "concurrencymode"              && (edmconcurrencymode)f.value == edmconcurrencymode.fixed))     .select(ep => new                      {                          type = ep.declaringtype.name,                         property = ep.name,                         datetype = ep.typeusage.edmtype.name                      }) 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -