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

Prepares, validates, and executes the function "transactions.get_purchase(_date_from date, _date_to date, _office_id integer)" on the database. More...

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

Public Member Functions

 GetPurchaseProcedure ()
 Prepares, validates, and executes the function "transactions.get_purchase(_date_from date, _date_to date, _office_id integer)" on the database. More...
 
 GetPurchaseProcedure (DateTime dateFrom, DateTime dateTo, int officeId)
 Prepares, validates, and executes the function "transactions.get_purchase(_date_from date, _date_to date, _office_id integer)" on the database. More...
 
decimal Execute ()
 Prepares and executes the function "transactions.get_purchase". 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_purchase"
 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...
 
DateTime DateFrom [get, set]
 Maps to "_date_from" argument of the function "transactions.get_purchase". More...
 
DateTime DateTo [get, set]
 Maps to "_date_to" argument of the function "transactions.get_purchase". More...
 
int OfficeId [get, set]
 Maps to "_office_id" argument of the function "transactions.get_purchase". 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_purchase(_date_from date, _date_to date, _office_id integer)" on the database.

Constructor & Destructor Documentation

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

Prepares, validates, and executes the function "transactions.get_purchase(_date_from date, _date_to date, _office_id integer)" on the database.

MixERP.Net.Schemas.Transactions.Data.GetPurchaseProcedure.GetPurchaseProcedure ( DateTime  dateFrom,
DateTime  dateTo,
int  officeId 
)

Prepares, validates, and executes the function "transactions.get_purchase(_date_from date, _date_to date, _office_id integer)" on the database.

Parameters
dateFromEnter argument value for "_date_from" parameter of the function "transactions.get_purchase".
dateToEnter argument value for "_date_to" parameter of the function "transactions.get_purchase".
officeIdEnter argument value for "_office_id" parameter of the function "transactions.get_purchase".

Member Function Documentation

decimal MixERP.Net.Schemas.Transactions.Data.GetPurchaseProcedure.Execute ( )

Prepares and executes the function "transactions.get_purchase".

Member Data Documentation

override string MixERP.Net.Schemas.Transactions.Data.GetPurchaseProcedure.ObjectName => "get_purchase"

The schema unqualified name of this PostgreSQL function.

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

The schema of this PostgreSQL function.

Property Documentation

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

Login id of application user accessing this PostgreSQL function.

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

User id of application user accessing this table.

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

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

DateTime MixERP.Net.Schemas.Transactions.Data.GetPurchaseProcedure.DateFrom
getset

Maps to "_date_from" argument of the function "transactions.get_purchase".

DateTime MixERP.Net.Schemas.Transactions.Data.GetPurchaseProcedure.DateTo
getset

Maps to "_date_to" argument of the function "transactions.get_purchase".

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

Maps to "_office_id" argument of the function "transactions.get_purchase".


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