C# Class Altairis.Fakturoid.Client.FakturoidSubjectsProxy

Proxy class for working with subjects/contacts.
Inheritance: FakturoidEntityProxy
Afficher le fichier Open project: ridercz/Fakturoid-API

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
FakturoidSubjectsProxy ( FakturoidContext context ) : System

Method Details

Create() public méthode

Creates the specified new subject.
entity
public Create ( Altairis.Fakturoid.Client.JsonSubject entity ) : int
entity Altairis.Fakturoid.Client.JsonSubject The new subject.
Résultat int

CreateAsync() public méthode

Creates asynchronously the specified new subject.
entity
public CreateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task
entity Altairis.Fakturoid.Client.JsonSubject The new subject.
Résultat Task

Delete() public méthode

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

DeleteAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

Select() public méthode

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

Select() public méthode

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

SelectAsync() public méthode

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

SelectAsync() public méthode

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

SelectSingle() public méthode

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.
Résultat Altairis.Fakturoid.Client.JsonSubject

SelectSingleAsync() public méthode

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

Update() public méthode

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.
Résultat Altairis.Fakturoid.Client.JsonSubject

UpdateAsync() public méthode

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