MixERP.Net.Schemas.Office.Data.Configuration Class Reference

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

Inheritance diagram for MixERP.Net.Schemas.Office.Data.Configuration:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

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

Member Function Documentation

object MixERP.Net.Schemas.Office.Data.Configuration.Add ( MixERP.Net.Entities.Office.Configuration  configuration)

Inserts the instance of Configuration class on the database table "office.configuration".

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

Inserts or updates the instance of Configuration class on the database table "office.configuration".

Parameters
configurationThe instance of "Configuration" 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.Office.Data.Configuration.BulkImport ( List< MixERP.Net.Entities.Office.Configuration configurations)

Inserts or updates multiple instances of Configuration class on the database table "office.configuration";

Parameters
configurationsList of "Configuration" class to import.
Returns
long MixERP.Net.Schemas.Office.Data.Configuration.Count ( )

Performs SQL count on the table "office.configuration".

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

Performs a filtered count on table "office.configuration".

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

Performs a filtered count on table "office.configuration".

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

Deletes the row of the table "office.configuration" against the primary key value.

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

Executes a select query on the table "office.configuration" to return a all instances of the "Configuration" class to export.

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

Executes a select query on the table "office.configuration" with a where filter on the column "configuration_id" to return a single instance of the "Configuration" class.

Parameters
configurationIdThe column "configuration_id" parameter used on where filter.
Returns
Returns a non-live, non-mapped instance of "Configuration" 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.Office.Configuration> MixERP.Net.Schemas.Office.Data.Configuration.Get ( int[]  configurationIds)

Executes a select query on the table "office.configuration" with a where filter on the column "configuration_id" to return a multiple instances of the "Configuration" class.

Parameters
configurationIdsArray of column "configuration_id" parameter used on where filter.
Returns
Returns a non-live, non-mapped collection of "Configuration" 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.Office.Data.Configuration.GetCustomFields ( string  resourceId)

Custom fields are user defined form elements for office.configuration.

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

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

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

Performs a filtered select statement on table "office.configuration" producing a paged result of 25.

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

Performs a select statement on table "office.configuration" producing a paged result of 25.

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

Performs a select statement on table "office.configuration" producing a paged result of 25.

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

Performs a filtered select statement on table "office.configuration" 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 "Configuration" class.
Exceptions
UnauthorizedExceptionThown when the application user does not have sufficient privilege to perform this action.
void MixERP.Net.Schemas.Office.Data.Configuration.Update ( MixERP.Net.Entities.Office.Configuration  configuration,
int  configurationId 
)

Updates the row of the table "office.configuration" with an instance of "Configuration" class against the primary key value.

Parameters
configurationThe instance of "Configuration" class to update.
configurationIdThe value of the column "configuration_id" 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.Office.Data.Configuration.ObjectName => "configuration"

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

override string MixERP.Net.Schemas.Office.Data.Configuration.ObjectNamespace => "office"

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

Property Documentation

string MixERP.Net.Schemas.Office.Data.Configuration.Catalog
getset

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

long MixERP.Net.Schemas.Office.Data.Configuration.LoginId
getset

Login id of application user accessing this table.

int MixERP.Net.Schemas.Office.Data.Configuration.UserId
getset

User id of application user accessing this table.


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