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

Prepares, validates, and executes the function "policy.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database. More...

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

Public Member Functions

 GetMenuProcedure ()
 Prepares, validates, and executes the function "policy.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database. More...
 
 GetMenuProcedure (int userId, int officeId, string culture)
 Prepares, validates, and executes the function "policy.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database. More...
 
IEnumerable< DbGetMenuResultExecute ()
 Prepares and executes the function "policy.get_menu". 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 => "get_menu"
 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 UserId [get, set]
 Maps to "_user_id" argument of the function "policy.get_menu". More...
 
int OfficeId [get, set]
 Maps to "_office_id" argument of the function "policy.get_menu". More...
 
string Culture [get, set]
 Maps to "_culture_" argument of the function "policy.get_menu". 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.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database.

Constructor & Destructor Documentation

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

Prepares, validates, and executes the function "policy.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database.

MixERP.Net.Schemas.Policy.Data.GetMenuProcedure.GetMenuProcedure ( int  userId,
int  officeId,
string  culture 
)

Prepares, validates, and executes the function "policy.get_menu(_user_id integer, _office_id integer, _culture_ text)" on the database.

Parameters
userIdEnter argument value for "_user_id" parameter of the function "policy.get_menu".
officeIdEnter argument value for "_office_id" parameter of the function "policy.get_menu".
cultureEnter argument value for "_culture_" parameter of the function "policy.get_menu".

Member Function Documentation

IEnumerable<DbGetMenuResult> MixERP.Net.Schemas.Policy.Data.GetMenuProcedure.Execute ( )

Prepares and executes the function "policy.get_menu".

Member Data Documentation

override string MixERP.Net.Schemas.Policy.Data.GetMenuProcedure.ObjectName => "get_menu"

The schema unqualified name of this PostgreSQL function.

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

The schema of this PostgreSQL function.

Property Documentation

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

Login id of application user accessing this PostgreSQL function.

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

User id of application user accessing this table.

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

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

string MixERP.Net.Schemas.Policy.Data.GetMenuProcedure.Culture
getset

Maps to "_culture_" argument of the function "policy.get_menu".

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

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

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

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


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