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