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