BaseRepository class
namespace: Serenity.Services assembly: Serenity.Net.Services
An base class that can be used for repositories (obsolete, BaseRequestHandler) that accept a IRequestContext instance.
public class BaseRepository
Public Members
| name | description |
|---|---|
| BaseRepository(…) | Creates an instance of the class. |
Protected Members
| name | description |
|---|---|
| Cache { get; } | Gets cache from the request context |
| Context { get; } | Gets the request context |
| Localizer { get; } | Gets text localizer from the request context |
| Permissions { get; } | Gets permission service from the request context |
| User { get; } | Gets the user from the request context |
See Also
- Source: BaseRepository.cs