BaseUserRetrieveService<TRow> class
namespace: Serenity.Extensions assembly: Serenity.Extensions
Base user retrieve service that provides common functionality for user retrieve services.
public abstract class BaseUserRetrieveService<TRow> : BaseUserRetrieveService
where TRow : class, IRow, IIdRow, INameRow, new()
| parameter | description |
|---|---|
| TRow | User row type |
| cache | Cache |
| sqlConnections | SQL connections |
Protected Members
| name | description |
|---|---|
| BaseUserRetrieveService(…) | Base user retrieve service that provides common functionality for user retrieve services. |
| override GetCacheGroupKey() | Gets the cache group key for user retrieval. |
| override IsValidUserId(…) | Checks if the specified user ID is valid. |
| virtual LoadByCriteria(…) | Loads a user from the database by the specified criteria. |
| override LoadById(…) | Loads the user by the specified ID from database. |
| override LoadByUsername(…) | Loads the user by the specified username from database. |
| abstract ToUserDefinition(…) | Converts the specified row to a user definition. |
See Also
- class BaseUserRetrieveService
- interface IRow
- interface IIdRow
- interface INameRow
- Source: BaseUserRetrieveServiceT.cs