C# 클래스 DocumentDBRepository, code

파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
CreateItemAsync ( item ) : Task
DeleteItemAsync ( string id ) : Task,
GetItemAsync ( string id ) : Task
GetItemsAsync ( Expression, predicate ) : Task>
Initialize ( ) : void
UpdateItemAsync ( string id, item ) : Task

비공개 메소드들

메소드 설명
CreateCollectionIfNotExistsAsync ( ) : Task,
CreateDatabaseIfNotExistsAsync ( ) : Task,

메소드 상세

CreateItemAsync() 공개 정적인 메소드

public static CreateItemAsync ( item ) : Task
리턴 Task

DeleteItemAsync() 공개 정적인 메소드

public static DeleteItemAsync ( string id ) : Task,
id string
리턴 Task,

GetItemAsync() 공개 정적인 메소드

public static GetItemAsync ( string id ) : Task
id string
리턴 Task

GetItemsAsync() 공개 정적인 메소드

public static GetItemsAsync ( Expression, predicate ) : Task>
predicate Expression,
리턴 Task>

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

UpdateItemAsync() 공개 정적인 메소드

public static UpdateItemAsync ( string id, item ) : Task
id string
리턴 Task