A data service is a component that provides methods to access domain object models from a database by reading them from tables and producing a model or a list of models.
They also provide methods that produces changes in the database.
Within this framework a data service is a class that implement
KpokPatagon.Data.IDataServices or that inherits from
KpokPatagon.Data.DataServices, for example:
public class AuditDataServices : DataServices
{
//...
}
A data service will provide the following information related to a database table, this information is provided by their respected properties.
Schema.Alias for the table.Table property.Fields property.
Table data are filtered from methods within data services, this methods
will use the infrastructure provided by the namespace
KpokPatagon.Data.Query to construct query commands in a
database agnostic way.
In this document