Base solution for your next web application
Open Closed

Creating Notes and Attachment Infrastructure #1629


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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;}
    }