C# Class CodeFirstAltairis.Models.UserRepository

Inheritance: IUserRepository
Mostrar archivo Open project: turnkey-commerce/CodeFirstAltairis Class Usage Examples

Public Methods

Method Description
AddRole ( string id, string roleName ) : void
AllIncluding ( ) : IQueryable
Delete ( string id ) : void
Find ( string id ) : User
InsertOrUpdate ( User user ) : void
RemoveRole ( string id, string roleName ) : void
Save ( ) : void

Method Details

AddRole() public method

public AddRole ( string id, string roleName ) : void
id string
roleName string
return void

AllIncluding() public method

public AllIncluding ( ) : IQueryable
return IQueryable

Delete() public method

public Delete ( string id ) : void
id string
return void

Find() public method

public Find ( string id ) : User
id string
return User

InsertOrUpdate() public method

public InsertOrUpdate ( User user ) : void
user User
return void

RemoveRole() public method

public RemoveRole ( string id, string roleName ) : void
id string
roleName string
return void

Save() public method

public Save ( ) : void
return void