MixERP.Net.Schemas.Office.Data.CanLoginProcedure Class Reference

Prepares, validates, and executes the function "office.can_login(user_id integer_strict, office_id integer_strict)" on the database. More...

Inheritance diagram for MixERP.Net.Schemas.Office.Data.CanLoginProcedure:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

 CanLoginProcedure ()
 Prepares, validates, and executes the function "office.can_login(user_id integer_strict, office_id integer_strict)" on the database. More...
 
 CanLoginProcedure (int userId, int officeId)
 Prepares, validates, and executes the function "office.can_login(user_id integer_strict, office_id integer_strict)" on the database. More...
 
IEnumerable< DbCanLoginResultExecute ()
 Prepares and executes the function "office.can_login". 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 => "office"
 The schema of this PostgreSQL function. More...
 
override string ObjectName => "can_login"
 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 "office.can_login". More...
 
int OfficeId [get, set]
 Maps to "office_id" argument of the function "office.can_login". 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 "office.can_login(user_id integer_strict, office_id integer_strict)" on the database.

Constructor & Destructor Documentation

MixERP.Net.Schemas.Office.Data.CanLoginProcedure.CanLoginProcedure ( )

Prepares, validates, and executes the function "office.can_login(user_id integer_strict, office_id integer_strict)" on the database.

MixERP.Net.Schemas.Office.Data.CanLoginProcedure.CanLoginProcedure ( int  userId,
int  officeId 
)

Prepares, validates, and executes the function "office.can_login(user_id integer_strict, office_id integer_strict)" on the database.

Parameters
userIdEnter argument value for "user_id" parameter of the function "office.can_login".
officeIdEnter argument value for "office_id" parameter of the function "office.can_login".

Member Function Documentation

IEnumerable<DbCanLoginResult> MixERP.Net.Schemas.Office.Data.CanLoginProcedure.Execute ( )

Prepares and executes the function "office.can_login".

Member Data Documentation

override string MixERP.Net.Schemas.Office.Data.CanLoginProcedure.ObjectName => "can_login"

The schema unqualified name of this PostgreSQL function.

override string MixERP.Net.Schemas.Office.Data.CanLoginProcedure.ObjectNamespace => "office"

The schema of this PostgreSQL function.

Property Documentation

long MixERP.Net.Schemas.Office.Data.CanLoginProcedure._LoginId
getset

Login id of application user accessing this PostgreSQL function.

int MixERP.Net.Schemas.Office.Data.CanLoginProcedure._UserId
getset

User id of application user accessing this table.

string MixERP.Net.Schemas.Office.Data.CanLoginProcedure.Catalog
getset

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

int MixERP.Net.Schemas.Office.Data.CanLoginProcedure.OfficeId
getset

Maps to "office_id" argument of the function "office.can_login".

int MixERP.Net.Schemas.Office.Data.CanLoginProcedure.UserId
getset

Maps to "user_id" argument of the function "office.can_login".


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