C# Class Scheduler.Repository.UserRoleRepository

Inheritance: IUserRoleRepository
显示文件 Open project: math-os/mathos-scheduler

Public Methods

Method Description
AddAsync ( IUnitOfWork unitOfWork, IUserRole entity ) : Task
AddAsync ( IUserRole entity ) : Task
CreateUnitOfWork ( ) : void
DeleteAsync ( IUserRole entity ) : Task
DeleteAsync ( string ID ) : Task
GetAllAsync ( ) : Task>
UpdateAsync ( IUserRole entity ) : Task
UserRoleRepository ( IRepository repository ) : System

Method Details

AddAsync() public method

public AddAsync ( IUnitOfWork unitOfWork, IUserRole entity ) : Task
unitOfWork IUnitOfWork
entity IUserRole
return Task

AddAsync() public method

public AddAsync ( IUserRole entity ) : Task
entity IUserRole
return Task

CreateUnitOfWork() public method

public CreateUnitOfWork ( ) : void
return void

DeleteAsync() public method

public DeleteAsync ( IUserRole entity ) : Task
entity IUserRole
return Task

DeleteAsync() public method

public DeleteAsync ( string ID ) : Task
ID string
return Task

GetAllAsync() public method

public GetAllAsync ( ) : Task>
return Task>

UpdateAsync() public method

public UpdateAsync ( IUserRole entity ) : Task
entity IUserRole
return Task

UserRoleRepository() public method

public UserRoleRepository ( IRepository repository ) : System
repository IRepository
return System