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