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