entity framework - EDMX Extension - see property based on type -


i have created vsix extension in have extended proeprties edmx file, t4 files generate classes want. works great, can't figure out how show properties based on type. example have new property called regex - in store regular expression. want visible in edmx properties when field string.

any pointers?

thanks

ray

in t4 wrap regex method generation property type check:

<#     if ((property.typeusage.edmtype primitivetype)           &&         ((primitivetype)property.typeusage.edmtype).primitivetypekind == primitivetypekind.string)        { #>     public string regex {get;set;} //method text <#                      } #> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -