c# - Can I find out if CodeGeneration was turned off in a binary? -
when use poco's in place of entity framework generated objects, have turn of default code generation in edm designer setting value of code generation strategy
property of conceptual model (or edm) none
, , setting custom tool
property of edmx file (.edmx) empty string.
if binary had poco's , had adhered above mentioned requirements, there way can programmatically query binary see if above properties set or not?
in other words, information edm designer properties embedded somewhere in binary?
ps: know can query binary getknownproxytypes
see if proxies generated poco's. can query individual objects see if not derived entityobject
. designer properties code generation tool used generate entities written ef assembly wondering about?
update
i think changing question , have answer. answer no. binary, cannot find out if code generation edm turned off or not, if have source code, can read .edmx file , designerinfopropertyset
section has value shown below.
<designerinfopropertyset> <designerproperty name="codegenerationstrategy" value="none" /> </designerinfopropertyset>
Comments
Post a Comment