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

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

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

Public Member Functions

 GetNetProfitProcedure ()
 Prepares, validates, and executes the function "transactions.get_net_profit(_date_from date, _date_to date, _office_id integer, _factor integer, _no_provison boolean)" on the database. More...
 
 GetNetProfitProcedure (DateTime dateFrom, DateTime dateTo, int officeId, int factor, bool noProvison)
 Prepares, validates, and executes the function "transactions.get_net_profit(_date_from date, _date_to date, _office_id integer, _factor integer, _no_provison boolean)" on the database. More...
 
decimal Execute ()
 Prepares and executes the function "transactions.get_net_profit". 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_net_profit"
 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_net_profit". More...
 
DateTime DateTo [get, set]
 Maps to "_date_to" argument of the function "transactions.get_net_profit". More...
 
int OfficeId [get, set]
 Maps to "_office_id" argument of the function "transactions.get_net_profit". More...
 
int Factor [get, set]
 Maps to "_factor" argument of the function "transactions.get_net_profit". More...
 
bool NoProvison [get, set]
 Maps to "_no_provison" argument of the function "transactions.get_net_profit". 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_net_profit(_date_from date, _date_to date, _office_id integer, _factor integer, _no_provison boolean)" on the database.

Constructor & Destructor Documentation

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

Prepares, validates, and executes the function "transactions.get_net_profit(_date_from date, _date_to date, _office_id integer, _factor integer, _no_provison boolean)" on the database.

MixERP.Net.Schemas.Transactions.Data.GetNetProfitProcedure.GetNetProfitProcedure ( DateTime  dateFrom,
DateTime  dateTo,
int  officeId,
int  factor,
bool  noProvison 
)

Prepares, validates, and executes the function "transactions.get_net_profit(_date_from date, _date_to date, _office_id integer, _factor integer, _no_provison boolean)" on the database.

Parameters
dateFromEnter argument value for "_date_from" parameter of the function "transactions.get_net_profit".
dateToEnter argument value for "_date_to" parameter of the function "transactions.get_net_profit".
officeIdEnter argument value for "_office_id" parameter of the function "transactions.get_net_profit".
factorEnter argument value for "_factor" parameter of the function "transactions.get_net_profit".
noProvisonEnter argument value for "_no_provison" parameter of the function "transactions.get_net_profit".

Member Function Documentation

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

Prepares and executes the function "transactions.get_net_profit".

Member Data Documentation

override string MixERP.Net.Schemas.Transactions.Data.GetNetProfitProcedure.ObjectName => "get_net_profit"

The schema unqualified name of this PostgreSQL function.

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

The schema of this PostgreSQL function.

Property Documentation

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

Login id of application user accessing this PostgreSQL function.

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

User id of application user accessing this table.

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

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

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

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

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

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

int MixERP.Net.Schemas.Transactions.Data.GetNetProfitProcedure.Factor
getset

Maps to "_factor" argument of the function "transactions.get_net_profit".

bool MixERP.Net.Schemas.Transactions.Data.GetNetProfitProcedure.NoProvison
getset

Maps to "_no_provison" argument of the function "transactions.get_net_profit".

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

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


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