Defining the data source for your resource
A resource's data source acts as the interface between StellarAdmin and your application's data store. StellarAdmin comes with two data sources out of the box, namely:
DbContextDataSource(available in the
StellarAdmin.EntityFrameworkCoreNuGet package) takes care of all interaction between StellarAdmin and your application's
DbContexton your behalf. If you use Entity Framework in your application, then this should be you first choice.
DelegateDataSourceallows you to specify the interaction between StellarAdmin and your data store through callback methods. This is a good choice when you use a data access technology other than Entity Framework Core.