06.-Query-Service
In this concept Narik has These services:
RemoteDataProviderService
QueryService
UrlCreatorService
UrlCreator
RemoteDataProviderService
You can use this service to communicate with remote servers. This service uses provided metadata and UrlCreatorService to find the appropriate way to communicate.
QueryService
Currently, this service has some methods to do CRUD actions;
UrlCreatorService You may use different technologies in the remote server. but it's not important for Narik at all. You can define the way that URLs should be created and parameters must be sent to the remote server. In metadata you can specify "defaultRemoteDataProvider", for example "odata". Then you create a class that implements UrlCreator, for example, "ODataUrlCreator" and provide it as UrlCreator. Narik already did it for "odata" and "api".
UrlCreatorService manages all UrlCreators in the application.
example :
Last updated