MixERP.Net.Schemas.Core.Data.CustomFieldForm Class Reference

Provides simplified data access features to perform SCRUD operation on the database table "core.custom_field_forms". More...

Inheritance diagram for MixERP.Net.Schemas.Core.Data.CustomFieldForm:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

long Count ()
 Performs SQL count on the table "core.custom_field_forms". More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGet ()
 Executes a select query on the table "core.custom_field_forms" to return a all instances of the "CustomFieldForm" class to export. More...
 
MixERP.Net.Entities.Core.CustomFieldForm Get (string formName)
 Executes a select query on the table "core.custom_field_forms" with a where filter on the column "form_name" to return a single instance of the "CustomFieldForm" class. More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGet (string[] formNames)
 Executes a select query on the table "core.custom_field_forms" with a where filter on the column "form_name" to return a multiple instances of the "CustomFieldForm" class. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 Custom fields are user defined form elements for core.custom_field_forms. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfields provide a minimal name/value context for data binding the row collection of core.custom_field_forms. More...
 
void AddOrEdit (MixERP.Net.Entities.Core.CustomFieldForm customFieldForm, List< EntityParser.CustomField > customFields)
 Inserts or updates the instance of CustomFieldForm class on the database table "core.custom_field_forms". More...
 
object Add (MixERP.Net.Entities.Core.CustomFieldForm customFieldForm)
 Inserts the instance of CustomFieldForm class on the database table "core.custom_field_forms". More...
 
List< object > BulkImport (List< MixERP.Net.Entities.Core.CustomFieldForm > customFieldForms)
 Inserts or updates multiple instances of CustomFieldForm class on the database table "core.custom_field_forms"; More...
 
void Update (MixERP.Net.Entities.Core.CustomFieldForm customFieldForm, string formName)
 Updates the row of the table "core.custom_field_forms" with an instance of "CustomFieldForm" class against the primary key value. More...
 
void Delete (string formName)
 Deletes the row of the table "core.custom_field_forms" against the primary key value. More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGetPagedResult ()
 Performs a select statement on table "core.custom_field_forms" producing a paged result of 25. More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGetPagedResult (long pageNumber)
 Performs a select statement on table "core.custom_field_forms" producing a paged result of 25. More...
 
long CountWhere (List< EntityParser.Filter > filters)
 Performs a filtered count on table "core.custom_field_forms". More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGetWhere (long pageNumber, List< EntityParser.Filter > filters)
 Performs a filtered select statement on table "core.custom_field_forms" producing a paged result of 25. More...
 
long CountFiltered (string filterName)
 Performs a filtered count on table "core.custom_field_forms". More...
 
IEnumerable< MixERP.Net.Entities.Core.CustomFieldFormGetFiltered (long pageNumber, string filterName)
 Performs a filtered select statement on table "core.custom_field_forms" 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 => "custom_field_forms"
 The schema unqualified name of this table. Returns literal "custom_field_forms". 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]
 

Detailed Description

Provides simplified data access features to perform SCRUD operation on the database table "core.custom_field_forms".

Member Function Documentation

object MixERP.Net.Schemas.Core.Data.CustomFieldForm.Add ( MixERP.Net.Entities.Core.CustomFieldForm  customFieldForm)

Inserts the instance of CustomFieldForm class on the database table "core.custom_field_forms".

Parameters
customFieldFormThe instance of "CustomFieldForm" class to insert.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
void MixERP.Net.Schemas.Core.Data.CustomFieldForm.AddOrEdit ( MixERP.Net.Entities.Core.CustomFieldForm  customFieldForm,
List< EntityParser.CustomField customFields 
)

Inserts or updates the instance of CustomFieldForm class on the database table "core.custom_field_forms".

Parameters
customFieldFormThe instance of "CustomFieldForm" class to insert or update.
customFieldsThe custom field collection.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
List<object> MixERP.Net.Schemas.Core.Data.CustomFieldForm.BulkImport ( List< MixERP.Net.Entities.Core.CustomFieldForm customFieldForms)

Inserts or updates multiple instances of CustomFieldForm class on the database table "core.custom_field_forms";

Parameters
customFieldFormsList of "CustomFieldForm" class to import.
Returns
long MixERP.Net.Schemas.Core.Data.CustomFieldForm.Count ( )

Performs SQL count on the table "core.custom_field_forms".

Returns
Returns the number of rows of the table "core.custom_field_forms".
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
long MixERP.Net.Schemas.Core.Data.CustomFieldForm.CountFiltered ( string  filterName)

Performs a filtered count on table "core.custom_field_forms".

Parameters
filterNameThe named filter.
Returns
Returns number of rows of "CustomFieldForm" class using the filter.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
long MixERP.Net.Schemas.Core.Data.CustomFieldForm.CountWhere ( List< EntityParser.Filter filters)

Performs a filtered count on table "core.custom_field_forms".

Parameters
filtersThe list of filter conditions.
Returns
Returns number of rows of "CustomFieldForm" class using the filter.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
void MixERP.Net.Schemas.Core.Data.CustomFieldForm.Delete ( string  formName)

Deletes the row of the table "core.custom_field_forms" against the primary key value.

Parameters
formNameThe value of the column "form_name" which will be deleted.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.Get ( )

Executes a select query on the table "core.custom_field_forms" to return a all instances of the "CustomFieldForm" class to export.

Returns
Returns a non-live, non-mapped instances of "CustomFieldForm" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
MixERP.Net.Entities.Core.CustomFieldForm MixERP.Net.Schemas.Core.Data.CustomFieldForm.Get ( string  formName)

Executes a select query on the table "core.custom_field_forms" with a where filter on the column "form_name" to return a single instance of the "CustomFieldForm" class.

Parameters
formNameThe column "form_name" parameter used on where filter.
Returns
Returns a non-live, non-mapped instance of "CustomFieldForm" class mapped to the database row.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.Get ( string[]  formNames)

Executes a select query on the table "core.custom_field_forms" with a where filter on the column "form_name" to return a multiple instances of the "CustomFieldForm" class.

Parameters
formNamesArray of column "form_name" parameter used on where filter.
Returns
Returns a non-live, non-mapped collection of "CustomFieldForm" class mapped to the database row.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetCustomFields ( string  resourceId)

Custom fields are user defined form elements for core.custom_field_forms.

Returns
Returns an enumerable custom field collection for the table core.custom_field_forms
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<DisplayField> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetDisplayFields ( )

Displayfields provide a minimal name/value context for data binding the row collection of core.custom_field_forms.

Returns
Returns an enumerable name and value collection for the table core.custom_field_forms
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetFiltered ( long  pageNumber,
string  filterName 
)

Performs a filtered select statement on table "core.custom_field_forms" producing a paged result of 25.

Parameters
pageNumberEnter the page number to produce the paged result.
filterNameThe named filter.
Returns
Returns collection of "CustomFieldForm" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetPagedResult ( )

Performs a select statement on table "core.custom_field_forms" producing a paged result of 25.

Returns
Returns the first page of collection of "CustomFieldForm" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetPagedResult ( long  pageNumber)

Performs a select statement on table "core.custom_field_forms" producing a paged result of 25.

Parameters
pageNumberEnter the page number to produce the paged result.
Returns
Returns collection of "CustomFieldForm" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
IEnumerable<MixERP.Net.Entities.Core.CustomFieldForm> MixERP.Net.Schemas.Core.Data.CustomFieldForm.GetWhere ( long  pageNumber,
List< EntityParser.Filter filters 
)

Performs a filtered select statement on table "core.custom_field_forms" producing a paged result of 25.

Parameters
pageNumberEnter the page number to produce the paged result.
filtersThe list of filter conditions.
Returns
Returns collection of "CustomFieldForm" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
void MixERP.Net.Schemas.Core.Data.CustomFieldForm.Update ( MixERP.Net.Entities.Core.CustomFieldForm  customFieldForm,
string  formName 
)

Updates the row of the table "core.custom_field_forms" with an instance of "CustomFieldForm" class against the primary key value.

Parameters
customFieldFormThe instance of "CustomFieldForm" class to update.
formNameThe value of the column "form_name" which will be updated.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.

Member Data Documentation

override string MixERP.Net.Schemas.Core.Data.CustomFieldForm.ObjectName => "custom_field_forms"

The schema unqualified name of this table. Returns literal "custom_field_forms".

override string MixERP.Net.Schemas.Core.Data.CustomFieldForm.ObjectNamespace => "core"

The schema of this table. Returns literal "core".

Property Documentation

string MixERP.Net.Schemas.Core.Data.CustomFieldForm.Catalog
getset

The name of the database on which queries are being executed to.

long MixERP.Net.Schemas.Core.Data.CustomFieldForm.LoginId
getset

Login id of application user accessing this table.

int MixERP.Net.Schemas.Core.Data.CustomFieldForm.UserId
getset

User id of application user accessing this table.


The documentation for this class was generated from the following file: