cofoundry icon indicating copy to clipboard operation
cofoundry copied to clipboard

Get All Entities on Data Annotation

Open purnadika opened this issue 4 years ago • 1 comments

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 image

purnadika avatar Mar 21 '20 14:03 purnadika

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.

HeyJoel avatar Mar 23 '20 08:03 HeyJoel