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

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -