C# 클래스 GoogleCloudSamples.Models.DbBookStore

Implements IBookStore with a database.
상속: IBookStore
파일 보기 프로젝트 열기: GoogleCloudPlatform/getting-started-dotnet

공개 메소드들

메소드 설명
Create ( Book book ) : void
DbBookStore ( ApplicationDbContext dbcontext ) : System
DbBookStore ( ApplicationDbContext dbcontext ) : System.Linq
Delete ( long id ) : void
List ( int pageSize, string nextPageToken ) : BookList
List ( int pageSize, string nextPageToken, string userId = null ) : BookList
Read ( long id ) : Book
Update ( Book book ) : void

메소드 상세

Create() 공개 메소드

public Create ( Book book ) : void
book Book
리턴 void

DbBookStore() 공개 메소드

public DbBookStore ( ApplicationDbContext dbcontext ) : System
dbcontext ApplicationDbContext
리턴 System

DbBookStore() 공개 메소드

public DbBookStore ( ApplicationDbContext dbcontext ) : System.Linq
dbcontext ApplicationDbContext
리턴 System.Linq

Delete() 공개 메소드

public Delete ( long id ) : void
id long
리턴 void

List() 공개 메소드

public List ( int pageSize, string nextPageToken ) : BookList
pageSize int
nextPageToken string
리턴 BookList

List() 공개 메소드

public List ( int pageSize, string nextPageToken, string userId = null ) : BookList
pageSize int
nextPageToken string
userId string
리턴 BookList

Read() 공개 메소드

public Read ( long id ) : Book
id long
리턴 Book

Update() 공개 메소드

public Update ( Book book ) : void
book Book
리턴 void