C# 클래스 Affecto.IdentityManagement.Store.EntityFramework.DbRepository

상속: IDbRepository
파일 보기 프로젝트 열기: affecto/dotnet-IdentityManagement

공개 메소드들

메소드 설명
AccountExists ( AccountType type, string name ) : bool
AddGroup ( System.Guid id, string name, string description, string externalGroupName ) : void
AddOrganization ( System.Guid id, string name, string description ) : void
AddRole ( System.Guid id, string name, string description, string externalGroupName ) : void
AddUser ( System.Guid id, string name ) : void
AddUser ( System.Guid id, string name, string>.IReadOnlyCollection customProperties ) : void
AddUserAccount ( System.Guid userId, AccountType type, string name, string password = null ) : void
DbRepository ( IDbContext dbContext ) : System
GetGroup ( System.Guid id ) : Group
GetGroupWithUsers ( System.Guid id ) : Group
GetOrganization ( System.Guid id ) : Organization
GetPermission ( System.Guid id ) : Permission
GetRole ( System.Guid id ) : Role
GetRoleWithPermissions ( System.Guid id ) : Role
GetUser ( System.Guid id ) : User
GetUserAccount ( System.Guid userId, AccountType type ) : Account
GetUserWithRoles ( System.Guid id ) : User
GroupExists ( string name ) : bool
OrganizationExists ( string name ) : bool
RemoveUsers ( ) : void
RoleExists ( string name ) : bool
SaveChanges ( ) : void

메소드 상세

AccountExists() 공개 메소드

public AccountExists ( AccountType type, string name ) : bool
type AccountType
name string
리턴 bool

AddGroup() 공개 메소드

public AddGroup ( System.Guid id, string name, string description, string externalGroupName ) : void
id System.Guid
name string
description string
externalGroupName string
리턴 void

AddOrganization() 공개 메소드

public AddOrganization ( System.Guid id, string name, string description ) : void
id System.Guid
name string
description string
리턴 void

AddRole() 공개 메소드

public AddRole ( System.Guid id, string name, string description, string externalGroupName ) : void
id System.Guid
name string
description string
externalGroupName string
리턴 void

AddUser() 공개 메소드

public AddUser ( System.Guid id, string name ) : void
id System.Guid
name string
리턴 void

AddUser() 공개 메소드

public AddUser ( System.Guid id, string name, string>.IReadOnlyCollection customProperties ) : void
id System.Guid
name string
customProperties string>.IReadOnlyCollection
리턴 void

AddUserAccount() 공개 메소드

public AddUserAccount ( System.Guid userId, AccountType type, string name, string password = null ) : void
userId System.Guid
type AccountType
name string
password string
리턴 void

DbRepository() 공개 메소드

public DbRepository ( IDbContext dbContext ) : System
dbContext IDbContext
리턴 System

GetGroup() 공개 메소드

public GetGroup ( System.Guid id ) : Group
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Group

GetGroupWithUsers() 공개 메소드

public GetGroupWithUsers ( System.Guid id ) : Group
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Group

GetOrganization() 공개 메소드

public GetOrganization ( System.Guid id ) : Organization
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Organization

GetPermission() 공개 메소드

public GetPermission ( System.Guid id ) : Permission
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Permission

GetRole() 공개 메소드

public GetRole ( System.Guid id ) : Role
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Role

GetRoleWithPermissions() 공개 메소드

public GetRoleWithPermissions ( System.Guid id ) : Role
id System.Guid
리턴 Affecto.IdentityManagement.Store.Model.Role

GetUser() 공개 메소드

public GetUser ( System.Guid id ) : User
id System.Guid
리턴 User

GetUserAccount() 공개 메소드

public GetUserAccount ( System.Guid userId, AccountType type ) : Account
userId System.Guid
type AccountType
리턴 Account

GetUserWithRoles() 공개 메소드

public GetUserWithRoles ( System.Guid id ) : User
id System.Guid
리턴 User

GroupExists() 공개 메소드

public GroupExists ( string name ) : bool
name string
리턴 bool

OrganizationExists() 공개 메소드

public OrganizationExists ( string name ) : bool
name string
리턴 bool

RemoveUsers() 공개 메소드

public RemoveUsers ( ) : void
리턴 void

RoleExists() 공개 메소드

public RoleExists ( string name ) : bool
name string
리턴 bool

SaveChanges() 공개 메소드

public SaveChanges ( ) : void
리턴 void