Provides simplified data access features to perform SCRUD operation on the database table "config.db_parameters". More...
Public Member Functions | |
long | Count () |
Performs SQL count on the table "config.db_parameters". More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | Get () |
Executes a select query on the table "config.db_parameters" to return a all instances of the "DbParameter" class to export. More... | |
MixERP.Net.Entities.Config.DbParameter | Get (string key) |
Executes a select query on the table "config.db_parameters" with a where filter on the column "key" to return a single instance of the "DbParameter" class. More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | Get (string[] keys) |
Executes a select query on the table "config.db_parameters" with a where filter on the column "key" to return a multiple instances of the "DbParameter" class. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields (string resourceId) |
Custom fields are user defined form elements for config.db_parameters. More... | |
IEnumerable< DisplayField > | GetDisplayFields () |
Displayfields provide a minimal name/value context for data binding the row collection of config.db_parameters. More... | |
void | AddOrEdit (MixERP.Net.Entities.Config.DbParameter dbParameter, List< EntityParser.CustomField > customFields) |
Inserts or updates the instance of DbParameter class on the database table "config.db_parameters". More... | |
object | Add (MixERP.Net.Entities.Config.DbParameter dbParameter) |
Inserts the instance of DbParameter class on the database table "config.db_parameters". More... | |
List< object > | BulkImport (List< MixERP.Net.Entities.Config.DbParameter > dbParameters) |
Inserts or updates multiple instances of DbParameter class on the database table "config.db_parameters"; More... | |
void | Update (MixERP.Net.Entities.Config.DbParameter dbParameter, string key) |
Updates the row of the table "config.db_parameters" with an instance of "DbParameter" class against the primary key value. More... | |
void | Delete (string key) |
Deletes the row of the table "config.db_parameters" against the primary key value. More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | GetPagedResult () |
Performs a select statement on table "config.db_parameters" producing a paged result of 25. More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | GetPagedResult (long pageNumber) |
Performs a select statement on table "config.db_parameters" producing a paged result of 25. More... | |
long | CountWhere (List< EntityParser.Filter > filters) |
Performs a filtered count on table "config.db_parameters". More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | GetWhere (long pageNumber, List< EntityParser.Filter > filters) |
Performs a filtered select statement on table "config.db_parameters" producing a paged result of 25. More... | |
long | CountFiltered (string filterName) |
Performs a filtered count on table "config.db_parameters". More... | |
IEnumerable< MixERP.Net.Entities.Config.DbParameter > | GetFiltered (long pageNumber, string filterName) |
Performs a filtered select statement on table "config.db_parameters" producing a paged result of 25. 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 => "config" |
The schema of this table. Returns literal "config". More... | |
override string | ObjectName => "db_parameters" |
The schema unqualified name of this table. Returns literal "db_parameters". More... | |
Properties | |
long | LoginId [get, set] |
Login id of application user accessing this table. 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... | |
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] |
Provides simplified data access features to perform SCRUD operation on the database table "config.db_parameters".
object MixERP.Net.Schemas.Config.Data.DbParameter.Add | ( | MixERP.Net.Entities.Config.DbParameter | dbParameter | ) |
Inserts the instance of DbParameter class on the database table "config.db_parameters".
dbParameter | The instance of "DbParameter" class to insert. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
void MixERP.Net.Schemas.Config.Data.DbParameter.AddOrEdit | ( | MixERP.Net.Entities.Config.DbParameter | dbParameter, |
List< EntityParser.CustomField > | customFields | ||
) |
Inserts or updates the instance of DbParameter class on the database table "config.db_parameters".
dbParameter | The instance of "DbParameter" class to insert or update. |
customFields | The custom field collection. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
List<object> MixERP.Net.Schemas.Config.Data.DbParameter.BulkImport | ( | List< MixERP.Net.Entities.Config.DbParameter > | dbParameters | ) |
Inserts or updates multiple instances of DbParameter class on the database table "config.db_parameters";
dbParameters | List of "DbParameter" class to import. |
long MixERP.Net.Schemas.Config.Data.DbParameter.Count | ( | ) |
Performs SQL count on the table "config.db_parameters".
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
long MixERP.Net.Schemas.Config.Data.DbParameter.CountFiltered | ( | string | filterName | ) |
Performs a filtered count on table "config.db_parameters".
filterName | The named filter. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
long MixERP.Net.Schemas.Config.Data.DbParameter.CountWhere | ( | List< EntityParser.Filter > | filters | ) |
Performs a filtered count on table "config.db_parameters".
filters | The list of filter conditions. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
void MixERP.Net.Schemas.Config.Data.DbParameter.Delete | ( | string | key | ) |
Deletes the row of the table "config.db_parameters" against the primary key value.
key | The value of the column "key" which will be deleted. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.Get | ( | ) |
Executes a select query on the table "config.db_parameters" to return a all instances of the "DbParameter" class to export.
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
MixERP.Net.Entities.Config.DbParameter MixERP.Net.Schemas.Config.Data.DbParameter.Get | ( | string | key | ) |
Executes a select query on the table "config.db_parameters" with a where filter on the column "key" to return a single instance of the "DbParameter" class.
key | The column "key" parameter used on where filter. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.Get | ( | string[] | keys | ) |
Executes a select query on the table "config.db_parameters" with a where filter on the column "key" to return a multiple instances of the "DbParameter" class.
keys | Array of column "key" parameter used on where filter. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<PetaPoco.CustomField> MixERP.Net.Schemas.Config.Data.DbParameter.GetCustomFields | ( | string | resourceId | ) |
Custom fields are user defined form elements for config.db_parameters.
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<DisplayField> MixERP.Net.Schemas.Config.Data.DbParameter.GetDisplayFields | ( | ) |
Displayfields provide a minimal name/value context for data binding the row collection of config.db_parameters.
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.GetFiltered | ( | long | pageNumber, |
string | filterName | ||
) |
Performs a filtered select statement on table "config.db_parameters" producing a paged result of 25.
pageNumber | Enter the page number to produce the paged result. |
filterName | The named filter. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.GetPagedResult | ( | ) |
Performs a select statement on table "config.db_parameters" producing a paged result of 25.
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.GetPagedResult | ( | long | pageNumber | ) |
Performs a select statement on table "config.db_parameters" producing a paged result of 25.
pageNumber | Enter the page number to produce the paged result. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
IEnumerable<MixERP.Net.Entities.Config.DbParameter> MixERP.Net.Schemas.Config.Data.DbParameter.GetWhere | ( | long | pageNumber, |
List< EntityParser.Filter > | filters | ||
) |
Performs a filtered select statement on table "config.db_parameters" producing a paged result of 25.
pageNumber | Enter the page number to produce the paged result. |
filters | The list of filter conditions. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
void MixERP.Net.Schemas.Config.Data.DbParameter.Update | ( | MixERP.Net.Entities.Config.DbParameter | dbParameter, |
string | key | ||
) |
Updates the row of the table "config.db_parameters" with an instance of "DbParameter" class against the primary key value.
dbParameter | The instance of "DbParameter" class to update. |
key | The value of the column "key" which will be updated. |
UnauthorizedException | Thown when the application user does not have sufficient privilege to perform this action. |
override string MixERP.Net.Schemas.Config.Data.DbParameter.ObjectName => "db_parameters" |
The schema unqualified name of this table. Returns literal "db_parameters".
override string MixERP.Net.Schemas.Config.Data.DbParameter.ObjectNamespace => "config" |
The schema of this table. Returns literal "config".
|
getset |
The name of the database on which queries are being executed to.
|
getset |
Login id of application user accessing this table.
|
getset |
User id of application user accessing this table.