MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure Class Reference

Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database. More...

Inheritance diagram for MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

 GetSalesByOfficesProcedure ()
 Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database. More...
 
 GetSalesByOfficesProcedure (int officeId, int divideBy)
 Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database. More...
 
IEnumerable< DbGetSalesByOfficesResultExecute ()
 Prepares and executes the function "transactions.get_sales_by_offices". More...
 
- Public Member Functions inherited from PetaPoco.DbAccess
void Validate (AccessTypeEnum type, long loginId, bool noException)
 Validates application user access rights to execute the function. More...
 

Public Attributes

override string ObjectNamespace => "transactions"
 The schema of this PostgreSQL function. More...
 
override string ObjectName => "get_sales_by_offices"
 The schema unqualified name of this PostgreSQL function. More...
 

Properties

long _LoginId [get, set]
 Login id of application user accessing this PostgreSQL function. More...
 
int _UserId [get, set]
 User id of application user accessing this table. More...
 
string Catalog [get, set]
 The name of the database on which queries are being executed to. More...
 
int OfficeId [get, set]
 Maps to "office_id" argument of the function "transactions.get_sales_by_offices". More...
 
int DivideBy [get, set]
 Maps to "divide_by" argument of the function "transactions.get_sales_by_offices". More...
 
- Properties inherited from PetaPoco.DbAccess
abstract string ObjectNamespace [get]
 
abstract string ObjectName [get]
 
bool HasAccess [get]
 
bool Validated [get]
 
bool SkipValidation [get, set]
 
- Properties inherited from PetaPoco.IDBAccess
bool HasAccess [get]
 

Detailed Description

Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database.

Constructor & Destructor Documentation

MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.GetSalesByOfficesProcedure ( )

Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database.

MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.GetSalesByOfficesProcedure ( int  officeId,
int  divideBy 
)

Prepares, validates, and executes the function "transactions.get_sales_by_offices(office_id integer, divide_by integer)" on the database.

Parameters
officeIdEnter argument value for "office_id" parameter of the function "transactions.get_sales_by_offices".
divideByEnter argument value for "divide_by" parameter of the function "transactions.get_sales_by_offices".

Member Function Documentation

IEnumerable<DbGetSalesByOfficesResult> MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.Execute ( )

Prepares and executes the function "transactions.get_sales_by_offices".

Member Data Documentation

override string MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.ObjectName => "get_sales_by_offices"

The schema unqualified name of this PostgreSQL function.

override string MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.ObjectNamespace => "transactions"

The schema of this PostgreSQL function.

Property Documentation

long MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure._LoginId
getset

Login id of application user accessing this PostgreSQL function.

int MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure._UserId
getset

User id of application user accessing this table.

string MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.Catalog
getset

The name of the database on which queries are being executed to.

int MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.DivideBy
getset

Maps to "divide_by" argument of the function "transactions.get_sales_by_offices".

int MixERP.Net.Schemas.Transactions.Data.GetSalesByOfficesProcedure.OfficeId
getset

Maps to "office_id" argument of the function "transactions.get_sales_by_offices".


The documentation for this class was generated from the following file: