Relative Content

Tag Archive for ajaxdatatablesabp

Using DataTable to list a collection from an aggregate root

I have an aggregate root that has a collection of objects called Directives. A Directive has three properites – Name, Type, and ExpirationDate. Directives inherit from Entity and they should not be a Value Object. I want to display the collection in a DataTable on the aggregate root’s page (MVC Razor). So if I go to a specific account, that account can have 0:Many Directives.