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