C# 클래스 Altairis.Fakturoid.Client.FakturoidSubjectsProxy

Proxy class for working with subjects/contacts.
상속: FakturoidEntityProxy
파일 보기 프로젝트 열기: ridercz/Fakturoid-API

공개 메소드들

메소드 설명
Create ( Altairis.Fakturoid.Client.JsonSubject entity ) : int

Creates the specified new subject.

CreateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task

Creates asynchronously the specified new subject.

Delete ( int id ) : void

Deletes subject with specified id.

DeleteAsync ( int id ) : System.Threading.Tasks.Task

Deletes asynchronously with specified id.

Select ( int page ) : IEnumerable

Gets paged list of subjects

Select ( string customId = null ) : IEnumerable

Gets list of all subjects.

SelectAsync ( int page ) : Task>

Gets asynchronously paged list of subjects

SelectAsync ( string customId = null ) : Task>

Gets asynchronously list of all subjects.

SelectSingle ( int id ) : Altairis.Fakturoid.Client.JsonSubject

Selects single subject with specified ID.

SelectSingleAsync ( int id ) : Task

Selects asynchronously single subject with specified ID.

Update ( Altairis.Fakturoid.Client.JsonSubject entity ) : Altairis.Fakturoid.Client.JsonSubject

Updates the specified subject.

UpdateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task

Updates asynchronously the specified subject.

비공개 메소드들

메소드 설명
FakturoidSubjectsProxy ( FakturoidContext context ) : System

메소드 상세

Create() 공개 메소드

Creates the specified new subject.
entity
public Create ( Altairis.Fakturoid.Client.JsonSubject entity ) : int
entity Altairis.Fakturoid.Client.JsonSubject The new subject.
리턴 int

CreateAsync() 공개 메소드

Creates asynchronously the specified new subject.
entity
public CreateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task
entity Altairis.Fakturoid.Client.JsonSubject The new subject.
리턴 Task

Delete() 공개 메소드

Deletes subject with specified id.
id;Value must be greater than zero.
public Delete ( int id ) : void
id int The contact id.
리턴 void

DeleteAsync() 공개 메소드

Deletes asynchronously with specified id.
id;Value must be greater than zero.
public DeleteAsync ( int id ) : System.Threading.Tasks.Task
id int The contact id.
리턴 System.Threading.Tasks.Task

Select() 공개 메소드

Gets paged list of subjects
page;Value must be greater than zero.
public Select ( int page ) : IEnumerable
page int The page number.
리턴 IEnumerable

Select() 공개 메소드

Gets list of all subjects.
public Select ( string customId = null ) : IEnumerable
customId string The custom identifier used for filtering.
리턴 IEnumerable

SelectAsync() 공개 메소드

Gets asynchronously paged list of subjects
page;Value must be greater than zero.
public SelectAsync ( int page ) : Task>
page int The page number.
리턴 Task>

SelectAsync() 공개 메소드

Gets asynchronously list of all subjects.
public SelectAsync ( string customId = null ) : Task>
customId string The custom identifier used for filtering.
리턴 Task>

SelectSingle() 공개 메소드

Selects single subject with specified ID.
id;Value must be greater than zero.
public SelectSingle ( int id ) : Altairis.Fakturoid.Client.JsonSubject
id int The subject id.
리턴 Altairis.Fakturoid.Client.JsonSubject

SelectSingleAsync() 공개 메소드

Selects asynchronously single subject with specified ID.
id;Value must be greater than zero.
public SelectSingleAsync ( int id ) : Task
id int The subject id.
리턴 Task

Update() 공개 메소드

Updates the specified subject.
entity
public Update ( Altairis.Fakturoid.Client.JsonSubject entity ) : Altairis.Fakturoid.Client.JsonSubject
entity Altairis.Fakturoid.Client.JsonSubject The subject to update.
리턴 Altairis.Fakturoid.Client.JsonSubject

UpdateAsync() 공개 메소드

Updates asynchronously the specified subject.
entity
public UpdateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task
entity Altairis.Fakturoid.Client.JsonSubject The subject to update.
리턴 Task