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

Prepares, validates, and executes the function "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database. More...

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

Public Member Functions

 CreateUserProcedure ()
 Prepares, validates, and executes the function "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database. More...
 
 CreateUserProcedure (int roleId, int departmentId, int officeId, string userName, string password, string fullName, bool elevated)
 Prepares, validates, and executes the function "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database. More...
 
void Execute ()
 Prepares and executes the function "office.create_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 => "office"
 The schema of this PostgreSQL function. More...
 
override string ObjectName => "create_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 RoleId [get, set]
 Maps to "_role_id" argument of the function "office.create_user". More...
 
int DepartmentId [get, set]
 Maps to "_department_id" argument of the function "office.create_user". More...
 
int OfficeId [get, set]
 Maps to "_office_id" argument of the function "office.create_user". More...
 
string UserName [get, set]
 Maps to "_user_name" argument of the function "office.create_user". More...
 
string Password [get, set]
 Maps to "_password" argument of the function "office.create_user". More...
 
string FullName [get, set]
 Maps to "_full_name" argument of the function "office.create_user". More...
 
bool Elevated [get, set]
 Maps to "_elevated" argument of the function "office.create_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 "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database.

Constructor & Destructor Documentation

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

Prepares, validates, and executes the function "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database.

MixERP.Net.Schemas.Office.Data.CreateUserProcedure.CreateUserProcedure ( int  roleId,
int  departmentId,
int  officeId,
string  userName,
string  password,
string  fullName,
bool  elevated 
)

Prepares, validates, and executes the function "office.create_user(_role_id integer, _department_id integer, _office_id integer, _user_name text, _password text, _full_name text, _elevated boolean)" on the database.

Parameters
roleIdEnter argument value for "_role_id" parameter of the function "office.create_user".
departmentIdEnter argument value for "_department_id" parameter of the function "office.create_user".
officeIdEnter argument value for "_office_id" parameter of the function "office.create_user".
userNameEnter argument value for "_user_name" parameter of the function "office.create_user".
passwordEnter argument value for "_password" parameter of the function "office.create_user".
fullNameEnter argument value for "_full_name" parameter of the function "office.create_user".
elevatedEnter argument value for "_elevated" parameter of the function "office.create_user".

Member Function Documentation

void MixERP.Net.Schemas.Office.Data.CreateUserProcedure.Execute ( )

Prepares and executes the function "office.create_user".

Member Data Documentation

override string MixERP.Net.Schemas.Office.Data.CreateUserProcedure.ObjectName => "create_user"

The schema unqualified name of this PostgreSQL function.

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

The schema of this PostgreSQL function.

Property Documentation

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

Login id of application user accessing this PostgreSQL function.

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

User id of application user accessing this table.

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

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

int MixERP.Net.Schemas.Office.Data.CreateUserProcedure.DepartmentId
getset

Maps to "_department_id" argument of the function "office.create_user".

bool MixERP.Net.Schemas.Office.Data.CreateUserProcedure.Elevated
getset

Maps to "_elevated" argument of the function "office.create_user".

string MixERP.Net.Schemas.Office.Data.CreateUserProcedure.FullName
getset

Maps to "_full_name" argument of the function "office.create_user".

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

Maps to "_office_id" argument of the function "office.create_user".

string MixERP.Net.Schemas.Office.Data.CreateUserProcedure.Password
getset

Maps to "_password" argument of the function "office.create_user".

int MixERP.Net.Schemas.Office.Data.CreateUserProcedure.RoleId
getset

Maps to "_role_id" argument of the function "office.create_user".

string MixERP.Net.Schemas.Office.Data.CreateUserProcedure.UserName
getset

Maps to "_user_name" argument of the function "office.create_user".


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