C# 클래스 AzureLens.Database.DAL

파일 보기 프로젝트 열기: MicrosoftDX/AzureLens

Private Properties

프로퍼티 타입 설명
DAL System

공개 메소드들

메소드 설명
DeleteDiagramAsync ( string diagramId ) : Task
GenerateHashAsync ( System.Guid diagramId ) : Task
GetIdFromHashAsync ( string hash ) : Task
GetUserDiagramsAsync ( string userId ) : Task>

InsertDiagramAsync ( string diagram ) : Task

Inserts a new diagram into the Diagrams collection NOTE: the Diagram JSON must not have the id attribute or an exception will occur

LoadDiagram ( System.Guid diagramId ) : Task
UpdateDiagramAsync ( string diagram ) : Task

Updates an existing diagram in the Diagrams collection NOTE: the Diagram JSON must have the id attribute or an exception will occur

비공개 메소드들

메소드 설명
DAL ( ) : System

메소드 상세

DeleteDiagramAsync() 정적인 공개 메소드

static public DeleteDiagramAsync ( string diagramId ) : Task
diagramId string
리턴 Task

GenerateHashAsync() 공개 정적인 메소드

public static GenerateHashAsync ( System.Guid diagramId ) : Task
diagramId System.Guid
리턴 Task

GetIdFromHashAsync() 공개 정적인 메소드

public static GetIdFromHashAsync ( string hash ) : Task
hash string
리턴 Task

GetUserDiagramsAsync() 정적인 공개 메소드

static public GetUserDiagramsAsync ( string userId ) : Task>
userId string
리턴 Task>

InsertDiagramAsync() 정적인 공개 메소드

Inserts a new diagram into the Diagrams collection NOTE: the Diagram JSON must not have the id attribute or an exception will occur
static public InsertDiagramAsync ( string diagram ) : Task
diagram string
리턴 Task

LoadDiagram() 정적인 공개 메소드

static public LoadDiagram ( System.Guid diagramId ) : Task
diagramId System.Guid
리턴 Task

UpdateDiagramAsync() 정적인 공개 메소드

Updates an existing diagram in the Diagrams collection NOTE: the Diagram JSON must have the id attribute or an exception will occur
static public UpdateDiagramAsync ( string diagram ) : Task
diagram string
리턴 Task