0
maharatha created
Hi All -
This is to get some guidance about building a notes and attachment infrastructure in my application using Abpzero.
My requirement is I should be able to add Multiple Notes or Multiple Attachments to any row in any entity.
I am looking for something like IMayHaveNotes or ImayHaveAttachments. But I am probably not able to get my head around it about the approach.
Any help is appreciated?
1 Answer(s)
-
0
Hi,
Instead of doing that, you can define EntityNote and EntityAttachment (you can give better names :)) entities. For example,
public class EntityNote { public string EntityId {get; set;} public string EntityType {get;set;} public string Note {get;set;} }