Dear fellows,
i have create a dll enum list for using with ED. Ive set it to select multiple options in a property template with editor=“TemplateEnumListEditor”
It does work when i set values for the first time to a property. However when i go for editing it seems to get lost and trow exception to ED IDE.
I think it has something to do on how it does store and convert enum Identities at properties sheetz.
What could i do to have it working?
Thanks
Issue with custom enum dll in multiple selection TemplateEnumListEditor
Re: Issue with custom enum dll in multiple selection TemplateEnumListEditor
Question Improvments:
Add this to an empty model at any template (EF Core f.i.)
<#@ extended name="TestMultiEnum" owner="Property" type="MemberAccess" editor="TemplateEnumListEditor" Default="Public" description="Test." #>
Add this to an empty model at any template (EF Core f.i.)
<#@ extended name="TestMultiEnum" owner="Property" type="MemberAccess" editor="TemplateEnumListEditor" Default="Public" description="Test." #>
Re: Issue with custom enum dll in multiple selection TemplateEnumListEditor
1. We cannot reproduce any exception with custom enum. Could you send us a test model and specify the exact steps we should follow?lixaotec wrote:i have create a dll enum list for using with ED. Ive set it to select multiple options in a property template with editor=“TemplateEnumListEditor”
It does work when i set values for the first time to a property. However when i go for editing it seems to get lost and trow exception to ED IDE.
2. The extended property itself has no effect on the generated code. How are you using the property in your custom template code? Please ship the modified template with your test model.lixaotec wrote:Add this to an empty model at any template (EF Core f.i.)
<#@ extended name="TestMultiEnum" owner="Property" type="MemberAccess" editor="TemplateEnumListEditor" Default="Public" description="Test." #>