UserService Class

用户实体服务。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.2.33
C#
public class UserService : SortableDeptRelatedCRUDService<SysUser, string, SysUserInput, UserFilter>, 
	IUserService, ISortableCRUDService<SysUser, string, SysUserInput, UserFilter>, 
	ICRUDService<SysUser, string, SysUserInput, UserFilter>, 
	IPagingService<SysUser, string, UserFilter>, IOperationLogModule, 
	IDeptRelatedPagingService
Inheritance
object    CRUDServiceBaseSysUser, string, SysUserInput, UserFilter    CommonCRUDServiceSysUser, string, SysUserInput, UserFilter    SortableCommonCRUDServiceSysUser, string, SysUserInput, UserFilter    SortableDeptRelatedCRUDServiceSysUser, string, SysUserInput, UserFilter    UserService
Implements
IUserService, ICRUDServiceSysUser, string, SysUserInput, UserFilter, IDeptRelatedPagingService, IOperationLogModule, IPagingServiceSysUser, string, UserFilter, ISortableCRUDServiceSysUser, string, SysUserInput, UserFilter

Remarks

服务内获取用户列表的方法默认不返回 PasswordAvatarOpenIdUnionId 等属性的值。

调用本服务内的 GetPagingOutput()/GetDtoPagingOutput()/RawQueryDto() 方法,若未传入 UserFilter 或传入了但并未设置其 DeptId 属性, 可能返回空列表。参见 GetISelectAsync(PagingInputUserFilter) 说明(前边那几个方法内部都会先调用 GetISelect() 方法)。

Constructors

UserServiceInitializes a new instance of the UserService class

Properties

Public Properties

AutoSetDeptPath 获取一个布尔值,指示在查询时是否自动填充各个实体的部门路径属性。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
Educations 指示学历都有哪些。
JobTitles 指示职务都有哪些。
OPModule 获取本服务对应操作模块的名称。
(Overrides CommonCRUDServiceTEntity, TKey, TInput, TFilterOPModule)
OPObject 获取本服务操作的对象的名称,即 TEntity 的显示名称。
(Overrides CommonCRUDServiceTEntity, TKey, TInput, TFilterOPObject)
ProfessionalTitles 指示职称都有哪些。

Protected Properties

AllowFilterValueStartsWithOperator 获取一个布尔值,指示是否允许过滤条件值以比较运算符打头,如 "10""=10""==10" 均表示等于 10,">=10" 表示大于等于 10,"==" 则表示 "is null" 等等。
(Overrides CommonCRUDServiceTEntity, TKey, TInput, TFilterAllowFilterValueStartsWithOperator)
CategoryFilterPropertyName 获取 TEntity 中与 CommonFilterCategoryId 过滤条件对应的公共属性名称。
通常为当前实体的外键属性。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
DateTimeFilterPropertyName 获取 TEntity 中与 CommonFilter 的时间过滤条件对应的公共属性名称。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
DefaultOrderBys 获取默认排序字段。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
DefaultSortListDescending 获取一个布尔值,指示是否默认为降序排序。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
deptService 部门服务。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
exService 异常日志服务。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
fsql 获取本服务要操作的数据所用的 IFreeSql 实例。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
IDeleteObj 获取 IDelete 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
IncludePropertyNamesForISelect 获取一个字符串数组,指示在查询时要贪婪加载的属性。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
ISelectObj 获取 ISelect 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
IUpdateObj 获取 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
logger 系统日志。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
mapper IMapper 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
opLogService 操作日志服务。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
SetEntityOperatorName 获取一个布尔值,指示在查询实体时是否自动填充审计类实体中的操作用户姓名相关属性,如 CreatorNameUpdaterName 等。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
TreatAsteriskInFilterValueAsStartsOrEndsWithOperator 获取/设置一个布尔值,指示是否将过滤条件值里打头或结尾的星号作为 StartsWith/EndsWith 运算符。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
TreatEmptyFilterValueAsNull 获取一个布尔值,指示是否将过滤条件空值按数据库空值处理。
(Overrides CommonCRUDServiceTEntity, TKey, TInput, TFilterTreatEmptyFilterValueAsNull)
UserAccountIdAllowedChars 获取用户账户 Id 中允许出现的符号字符。
UserAvatarStringMaxLength 用户头像编码字符串最大长度。
userLockLogService 用户锁定日志服务。
UserNameAllowedChars 获取用户姓名中允许出现的符号字符。

Methods

Public Methods

Add 添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AddAsync 添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkAdd 批量添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkAddAsync 批量添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkDelete 批量删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkDeleteAsync 批量删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkUpdate 批量更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
BulkUpdateAsync 批量更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
ChangeDeptAsync 管理员修改用户所属部门。
CurrentUserBindEmailAsync 当前登录用户绑定邮箱。
CurrentUserBindMobileAsync 当前登录用户绑定手机。
CurrentUserBindWeChatAsync 当前登录用户绑定微信或更新绑定。
CurrentUserChangePasswordAsync 当前登录用户修改密码。
CurrentUserUnBindEmailAsync 当前登录用户解绑邮箱。
CurrentUserUnBindMobileAsync 当前登录用户解绑手机。
CurrentUserUnbindWeChatAsync 当前登录用户解绑微信。
CurrentUserUpdateAvatarAsync 当前登录用户修改头像。
Delete(TKey) 删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
Delete(TKey) 删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
DeleteAsync(TKey) 删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
DeleteAsync(TKey) 删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
DeleteByFilter 删除指定过滤器代表的实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
DeleteByFilterAsync 本类不支持,已重写,抛出 NotSupportedException。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterDeleteByFilterAsync(TFilter))
Exists 检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
ExistsAsync 检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
Get 获取指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetAsync 获取指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetDefaultDeptId 获取默认部门 Id,该部门的数据是当前登录用户默认可见的数据。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
GetDefaultDeptIdAsync 获取当前管理员默认可见的是哪个部门的日志。
(Overrides SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilterGetDefaultDeptIdAsync)
GetDtoPagingOutputTDto 执行查询,并返回指定页码的,把 TEntity 映射为 TDto 后的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetDtoPagingOutputAsyncTDto 执行查询,并返回指定页码的,把 TEntity 映射为 TDto 后的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetPagingOutput 执行查询,并返回指定页码的数据。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
GetPagingOutputAsync 执行查询,并返回指定页码的数据。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
GetRootDeptId 按指定的权限,获取数据对当前登录用户可见的最高层级部门的 Id。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
GetRootDeptIdAsync 获取用户对当前管理员可见的最高层级部门的 Id,已重写,直接返回当前管理员可管理的根机构 Id。
(Overrides SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilterGetRootDeptIdAsync(RightsRequired))
GetUserAdminInfoAsync 获取指定管理员用户的管理员级别、可管理的根机构 Id 等信息。
GetUserAllPermissionCodes 获取指定用户的拥有的所有权限的权限代码。
GetUserAllPermissionCodesAsync 获取指定用户的拥有的所有权限的权限代码。
GetUserAllPermissionIds 获取指定用户的拥有的所有权限的权限 Id。
GetUserAllPermissionIdsAsync 获取指定用户的拥有的所有权限的权限 Id。
GetUserAllPermissions 获取指定用户的拥有的所有权限。
GetUserAllPermissionsAsync 获取指定用户的拥有的所有权限。
GetUserAllRoleCodes 获取指定用户的拥有的所有角色的角色代码。
GetUserAllRoleCodesAsync 获取指定用户的拥有的所有角色的角色代码。
GetUserAllRoleIds 获取指定用户的拥有的所有角色的角色 Id。
GetUserAllRoleIdsAsync 获取指定用户的拥有的所有角色的角色 Id。
GetUserAllRoles 获取指定用户的拥有的所有角色。
GetUserAllRolesAsync 获取指定用户的拥有的所有角色。
GetUserByAccountId 由指定的账户 Id 获取用户。
GetUserByAccountIdAsync 由指定的账户 Id 获取用户。
GetUserByCode 由指定的用户编号获取用户。
GetUserByCodeAsync 由指定的用户编号获取用户。
GetUserByEmail 由指定的邮箱地址获取用户。
GetUserByEmailAsync 由指定的邮箱地址获取用户。
GetUserByMobile 由指定的手机号码获取用户。
GetUserByMobileAsync 由指定的手机号码获取用户。
GetUserIdByEmail 由指定邮箱地址获取对应用户 Id。
GetUserIdByEmailAsync 由指定邮箱地址获取对应用户 Id。
GetUserIdByMobile 由指定手机号码获取对应用户 Id。
GetUserIdByMobileAsync 由指定手机号码获取对应用户 Id。
GetUserIdByOpenId 由指定 openId 获取对应用户 Id。
GetUserIdByOpenIdAsync 由指定 openId 获取对应用户 Id。
GetUserName 获取指定用户的用户姓名。
GetUserNameAsync 获取指定用户的用户姓名。
IsAccountIdUpdateableAsync 指示指定用户的账户 Id 能否修改。
LockUserManuallyAsync 管理员手动锁定用户。
LockUsersManuallyAsync 管理员手动锁定用户。
MapFromInput 已重写,将输入信息映射为用户实体对象。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterMapFromInput(TInput))
MapToInput 由实体对象构造实体输入。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterMapToInput(TEntity))
MoveEntityAndResetDisplayOrder 移动指定记录并重置所有受影响记录的显示顺序。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
MoveEntityAndResetDisplayOrderAsync 移动指定记录并重置所有受影响记录的显示顺序。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
RawCount 按指定过滤条件查询记录数。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawCountAsync 按指定过滤条件查询记录数。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawExists 直接检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawExistsAsync 直接检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawGet 直接获取指定实体,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawGet(TKey, bool, bool))
RawGetAsync 直接获取指定实体,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawGetAsync(TKey, bool, bool))
RawGetSpecificDataTReturn 查找指定实体,并返回指定类型的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawGetSpecificDataAsyncTReturn 查找指定实体,并返回指定类型的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawQuery 直接按指定过滤器查询实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawQueryAsync 直接按指定过滤器查询实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawQueryDtoTDto 查询并返回将 TEntity 映射为 TDto 后的数据列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawQueryDtoAsyncTDto 查询并返回将 TEntity 映射为 TDto 后的数据列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
ResetPasswordAsync 管理员重置用户密码。
SetOperatorNameTEntity 填充审计类实体的用户姓名相关属性。
SetOperatorNameAsyncTEntity 填充审计类实体的用户姓名相关属性。
SetOperatorNamesTEntity 填充审计类实体列表中各实体的用户姓名相关属性。
SetOperatorNamesAsyncTEntity 填充审计类实体列表中各实体的用户姓名相关属性。
UnLockUserManuallyAsync 管理员手动解锁用户。
UnLockUsersManuallyAsync 管理员手动解锁用户。
Update 更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
UpdateAsync 更新用户,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterUpdateAsync(TKey, TInput, string))
UpdateSelfAsync 当前登录用户更新自己的账户信息。
UpdateSuperAdminAsync 超管用户更新个人资料。
ValidateCurrentUserPasswordAsync 检查当前登录用户的密码是否是指定密码。可用在需要二次验证用户登录密码的地方。

Protected Methods

AddOperationLog 记录操作日志。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AddOperationLogAsync 记录操作日志。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterAdd 添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterAddAsync 添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterBulkAdd 批量添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterBulkAddAsync 批量添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterBulkDelete 批量删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterBulkDeleteAsync 批量删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterChangeDeptAsync 成功修改用户所属部门后调用的方法。
AfterCurrentUserChangePasswordAsync 当前登录用户成功修改密码后调用的方法。
AfterDelete 删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterDeleteAsync 删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
AfterResetPasswordAsync 重置密码成功后调用的方法。
ApplyFilter 应用 CommonFilter 过滤器。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
ApplyFilterAsync 应用过滤器,已重写。
(Overrides CommonCRUDServiceTEntity, TKey, TInput, TFilterApplyFilterAsync(ISelectTEntity, TFilter))
BeforeCurrentUserChangePasswordAsync 当前登录用户修改密码前调用的方法。
BeforeResetPasswordAsync 重置密码前调用的方法。
CanChangeDeptAsync 检查是否能将指定用户的所属部门修改为另一个。
CanDelete 用于在删除实体前检查该实体当前是否允许删除。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
CanDeleteAsync 已重写,检查用户是否允许删除。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterCanDeleteAsync(TEntity))
FetchFirst 由 ISelect 执行查询并获取第一个实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
FetchFirstAsync 由 ISelect 执行查询并获取第一个实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
FetchList 由 ISelect 执行查询并获取实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
FetchListAsync 执行查询并获取用户实体列表,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterFetchListAsync(ISelectTEntity, bool))
GenerateDefaultPasswordAsync 生成默认密码。
GetBeginTimeExp 获取日期时间属性大于或等于指定起始时间的表达式。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetEndTimeLessOrEqualExp 获取日期时间属性小于或等于指定结束时间的表达式。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetEndTimeLessThanExp 获取日期时间属性小于指定结束时间的表达式。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetFilteredIDelete 获取应用了指定过滤器的 IDelete 对象。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetFilteredIDeleteAsync 获取应用了指定过滤器的 IDelete 对象。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetFilteredIUpdate 获取应用了指定过滤器的 IUpdate 对象。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetFilteredIUpdateAsync 获取应用了指定过滤器的 IUpdate 对象。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetIInsert 获取用来插入指定实体的 IInsert。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetIInsertAsync 获取用来插入指定实体的 IInsert。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetISelect(PagingInputTFilter) 获取应用了指定参数内的过滤器、排序等选项的 ISelect 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetISelect(string, bool) 获取选取了指定记录的 ISelect 对象,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterGetISelect(TKey, bool))
GetISelectAsync 获取分页参数对应的 ISelect,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterGetISelectAsync(PagingInputTFilter))
GetIUpdate(TKey) 获取用来更新指定主键对应实体的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetIUpdate(TEntity, string) 获取用来更新指定实体的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
GetIUpdateAsync 获取用来更新指定实体的 IUpdate 对象,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterGetIUpdateAsync(TEntity, string))
GetIUpdateForUpdatingSelfAsync 获取当前用户更新自己的账户信息时所需的 IUpdate 对象。
GetNextDisplayOrder 获取下一个 DisplayOrder 值。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetNextDisplayOrderAsync 获取下一个 DisplayOrder 值,已重写。
(Overrides SortableCommonCRUDServiceTEntity, TKey, TInput, TFilterGetNextDisplayOrderAsync(TEntity))
GetReOrderingEntities 用来在调整指定实体的显示顺序时,获取包含需要更新的记录的列表。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
GetReOrderingEntitiesAsync 用来在调整用户的显示顺序时,获取包含需要更新的记录的列表,已重写。
(Overrides SortableCommonCRUDServiceTEntity, TKey, TInput, TFilterGetReOrderingEntitiesAsync(TEntity))
HashPassword 对密码进行哈希处理。
OnBulkDelete 执行 SQL 语句,批量删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
OnBulkDeleteAsync 执行 SQL 语句,批量删除指定实体,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterOnBulkDeleteAsync(IListTEntity))
OnDelete 执行 SQL 语句,删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
OnDeleteAsync 执行 SQL 语句,删除指定实体,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterOnDeleteAsync(TEntity))
OnMovingEntityAndResettingDisplayOrder 用来在调整指定实体的显示顺序时,重置各个元素的显示顺序属性。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
ParseFilterItemValue 解析指定属性和它的值,以及值中可能包含的比较运算符。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
PrepareNewEntity 重写后的预处理新实体方法。
(Inherited from SortableCommonCRUDServiceTEntity, TKey, TInput, TFilter)
PrepareNewEntityAsync 预处理新实体,已重写。
(Overrides SortableCommonCRUDServiceTEntity, TKey, TInput, TFilterPrepareNewEntityAsync(TEntity))
RawExecuteInsert 执行插入实体 Insert 语句的方法。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawExecuteInsertAsync 执行插入实体 Insert 语句的方法。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawExecuteInsertAsync(TEntity))
RawExecuteUpdate 执行更新实体 Update 语句的方法。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
RawExecuteUpdateAsync 执行更新实体 Update 语句的方法。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawExecuteUpdateAsync(TEntity, string))
SetCategoryFilter 设置类别过滤条件。
已重写,用来应用部门 Id 过滤条件。
(Inherited from SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilter)
SetCategoryFilterAsync 设置类别过滤条件,已重写。
(Overrides SortableDeptRelatedCRUDServiceTEntity, TKey, TInput, TFilterSetCategoryFilterAsync(ISelectTEntity, TFilter))
SetColumnFilter 用指定属性及其值设置过滤条件。
(Inherited from CommonCRUDServiceTEntity, TKey, TInput, TFilter)
SetLockDetail 填充指定用户实体的锁定相关属性。
SetLockDetailAsync 填充指定用户实体的锁定相关属性。
SetOrderBy 设置排序。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
ValidateInput 用于在添加或更新实体时,校验输入是否有效。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter)
ValidateInputAsync 用于在添加或更新实体时,校验输入是否有效,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterValidateInputAsync(TEntity, bool))
ValidateInputEmailAsync 用来在新增用户/更新用户时检查邮箱地址是否有效、是否已被其他人使用。
ValidateInputMobileAsync 用来在新增用户/更新用户时检查手机号码是否有效、是否已被其他人使用。
ValidatePasswordPolicyAsync 验证密码是否有效。
ValidateUserPasswordAsync 验证用户密码。

See Also