Template Documentation
IMoviesService Methods |
The IMoviesService type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add |
Add an entity based on the passed model and insert it on database
(Inherited from IServiceTModel.) | |
AddIEnumetable |
Add an IEnumerable of entities based on the passed models IEnumerable amd insert them on database
(Inherited from IServiceTModel.) | |
Delete |
Add an entity based on the passed model and delete it on database
(Inherited from IServiceTModel.) | |
DeleteBy |
Deletes any match with the given predicate
(Inherited from IServiceTModel.) | |
Edit |
Add an entity based on the passed model and delete it on database
(Inherited from IServiceTModel.) | |
FindBy |
Retuns an IEnumerable of models based on the expresion, retreives entities from the database and convert them to models
(Inherited from IServiceTModel.) | |
Get |
Get an unique model based on the expresion, retreives the entity and convert it to model
(Inherited from IServiceTModel.) | |
GetAll |
Get all the elements of the database, retreives entities from the database and convert them to models
(Inherited from IServiceTModel.) | |
SelectWhereTResult |
This function allows to select the specific properties and filter by where clause on database, not on memory, in that way it improves the performace
(Inherited from IServiceTModel.) |
See Also