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

Prepares, validates, and executes the function "policy.is_elevated_user(_user_id integer)" on the database. More...

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

Public Member Functions

 IsElevatedUserProcedure ()
 Prepares, validates, and executes the function "policy.is_elevated_user(_user_id integer)" on the database. More...
 
 IsElevatedUserProcedure (int userId)
 Prepares, validates, and executes the function "policy.is_elevated_user(_user_id integer)" on the database. More...
 
bool Execute ()
 Prepares and executes the function "policy.is_elevated_user". 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 => "is_elevated_user"
 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.is_elevated_user". 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.is_elevated_user(_user_id integer)" on the database.

Constructor & Destructor Documentation

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

Prepares, validates, and executes the function "policy.is_elevated_user(_user_id integer)" on the database.

MixERP.Net.Schemas.Policy.Data.IsElevatedUserProcedure.IsElevatedUserProcedure ( int  userId)

Prepares, validates, and executes the function "policy.is_elevated_user(_user_id integer)" on the database.

Parameters
userIdEnter argument value for "_user_id" parameter of the function "policy.is_elevated_user".

Member Function Documentation

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

Prepares and executes the function "policy.is_elevated_user".

Member Data Documentation

override string MixERP.Net.Schemas.Policy.Data.IsElevatedUserProcedure.ObjectName => "is_elevated_user"

The schema unqualified name of this PostgreSQL function.

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

The schema of this PostgreSQL function.

Property Documentation

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

Login id of application user accessing this PostgreSQL function.

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

User id of application user accessing this table.

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

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

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

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


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