cofoundry
cofoundry copied to clipboard
Get All Entities on Data Annotation
Hi @HeyJoel Sorry I've to edit the title and question.... Is it possible to get all entities on data model annotation? Something like EntityMultiTypeCollection?
[CustomEntityMultiTypeCollection(new string[] { "AUTBPB", "BPBPBD", "CATBPB", "COFPGE", "COFDIR", "COFDOC" })]
public ICollection<CustomEntityIdentity> Links { get; set; }
So I wanna show all entities including defaults, especially all that shown on Admin's content page
No, we don't have a built-in annotation for that, you'd need to add each entity as separate properties. I suppose the editor would work like the multi-type custom entity picker, where each entity type is a separate 'add' option in the menu.