MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure Class Reference

Prepares, validates, and executes the function "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database. More...

Inheritance diagram for MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

 CanPostTransactionProcedure ()
 Prepares, validates, and executes the function "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database. More...
 
 CanPostTransactionProcedure (long loginIdParameter, int userId, int officeId, string transactionBook, DateTime valueDate)
 Prepares, validates, and executes the function "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database. More...
 
bool Execute ()
 Prepares and executes the function "policy.can_post_transaction". 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 => "policy"
 The schema of this PostgreSQL function. More...
 
override string ObjectName => "can_post_transaction"
 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...
 
long LoginIdParameter [get, set]
 Maps to "_login_id" argument of the function "policy.can_post_transaction". More...
 
int UserId [get, set]
 Maps to "_user_id" argument of the function "policy.can_post_transaction". More...
 
int OfficeId [get, set]
 Maps to "_office_id" argument of the function "policy.can_post_transaction". More...
 
string TransactionBook [get, set]
 Maps to "transaction_book" argument of the function "policy.can_post_transaction". More...
 
DateTime ValueDate [get, set]
 Maps to "_value_date" argument of the function "policy.can_post_transaction". 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 "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database.

Constructor & Destructor Documentation

MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.CanPostTransactionProcedure ( )

Prepares, validates, and executes the function "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database.

MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.CanPostTransactionProcedure ( long  loginIdParameter,
int  userId,
int  officeId,
string  transactionBook,
DateTime  valueDate 
)

Prepares, validates, and executes the function "policy.can_post_transaction(_login_id bigint, _user_id integer, _office_id integer, transaction_book text, _value_date date)" on the database.

Parameters
loginIdParameterEnter argument value for "_login_id" parameter of the function "policy.can_post_transaction".
userIdEnter argument value for "_user_id" parameter of the function "policy.can_post_transaction".
officeIdEnter argument value for "_office_id" parameter of the function "policy.can_post_transaction".
transactionBookEnter argument value for "transaction_book" parameter of the function "policy.can_post_transaction".
valueDateEnter argument value for "_value_date" parameter of the function "policy.can_post_transaction".

Member Function Documentation

bool MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.Execute ( )

Prepares and executes the function "policy.can_post_transaction".

Member Data Documentation

override string MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.ObjectName => "can_post_transaction"

The schema unqualified name of this PostgreSQL function.

override string MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.ObjectNamespace => "policy"

The schema of this PostgreSQL function.

Property Documentation

long MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure._LoginId
getset

Login id of application user accessing this PostgreSQL function.

int MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure._UserId
getset

User id of application user accessing this table.

string MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.Catalog
getset

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

long MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.LoginIdParameter
getset

Maps to "_login_id" argument of the function "policy.can_post_transaction".

int MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.OfficeId
getset

Maps to "_office_id" argument of the function "policy.can_post_transaction".

string MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.TransactionBook
getset

Maps to "transaction_book" argument of the function "policy.can_post_transaction".

int MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.UserId
getset

Maps to "_user_id" argument of the function "policy.can_post_transaction".

DateTime MixERP.Net.Schemas.Policy.Data.CanPostTransactionProcedure.ValueDate
getset

Maps to "_value_date" argument of the function "policy.can_post_transaction".


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