C# 클래스 afung.MangaWeb3.Server.CollectionUser

The CollectionUser class
파일 보기 프로젝트 열기: a-fung/MangaWeb3 1 사용 예제들

공개 메소드들

메소드 설명
CreateNew ( Collection collection, User user, bool access ) : CollectionUser

Create a new CollectionUser object

DeleteRelations ( int t, int id, int ids ) : void
Get ( Collection collection, User user ) : CollectionUser
GetByCollection ( Collection collection ) : afung.MangaWeb3.Server.CollectionUser[]

Get all CollectionUser objects associated to a collection

GetByUser ( User user ) : afung.MangaWeb3.Server.CollectionUser[]

Get all CollectionUser objects associated to a user

Save ( ) : void
SetRelationsAcess ( int t, int id, int ids, bool access ) : void
ToJson ( ) : CollectionUserJson
ToJsonArray ( CollectionUser cus ) : afung.MangaWeb3.Common.CollectionUserJson[]

비공개 메소드들

메소드 설명
CollectionUser ( ) : System

Instantiate a new instance of CollectionUser class

FromData ( object>.Dictionary data ) : CollectionUser

Create a new instance of CollectionUser using data from database

GetMultiple ( string where ) : afung.MangaWeb3.Server.CollectionUser[]

메소드 상세

CreateNew() 공개 정적인 메소드

Create a new CollectionUser object
public static CreateNew ( Collection collection, User user, bool access ) : CollectionUser
collection Collection The collection
user User The user
access bool Allow/deny access
리턴 CollectionUser

DeleteRelations() 공개 정적인 메소드

public static DeleteRelations ( int t, int id, int ids ) : void
t int
id int
ids int
리턴 void

Get() 공개 정적인 메소드

public static Get ( Collection collection, User user ) : CollectionUser
collection Collection
user User
리턴 CollectionUser

GetByCollection() 공개 정적인 메소드

Get all CollectionUser objects associated to a collection
public static GetByCollection ( Collection collection ) : afung.MangaWeb3.Server.CollectionUser[]
collection Collection The collection
리턴 afung.MangaWeb3.Server.CollectionUser[]

GetByUser() 공개 정적인 메소드

Get all CollectionUser objects associated to a user
public static GetByUser ( User user ) : afung.MangaWeb3.Server.CollectionUser[]
user User The user
리턴 afung.MangaWeb3.Server.CollectionUser[]

Save() 공개 메소드

public Save ( ) : void
리턴 void

SetRelationsAcess() 공개 정적인 메소드

public static SetRelationsAcess ( int t, int id, int ids, bool access ) : void
t int
id int
ids int
access bool
리턴 void

ToJson() 공개 메소드

public ToJson ( ) : CollectionUserJson
리턴 afung.MangaWeb3.Common.CollectionUserJson

ToJsonArray() 공개 정적인 메소드

public static ToJsonArray ( CollectionUser cus ) : afung.MangaWeb3.Common.CollectionUserJson[]
cus CollectionUser
리턴 afung.MangaWeb3.Common.CollectionUserJson[]