C# Класс Altairis.Fakturoid.Client.FakturoidSubjectsProxy

Proxy class for working with subjects/contacts.
Наследование: FakturoidEntityProxy
Показать файл Открыть проект

Открытые методы

Метод Описание
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