Click or drag to resize

MapperAttrs Enumeration

MapperAttributes are used to control overall behaviour of the IMapper.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum MapperAttrs
Members
  Member nameValueDescription
DenyInsert1Do not allow inserts.
DenyUpdate2Do not allow updates.
DenyDelete4Do not allow deletions.
BiDirectional8Allow forward and backward dataset access. By default access is forward-only.
NoCSSOverride16Do not override the Cascading Style Sheet for the table.
NoRowRequery32 Do not perform a row requery after a save. By default the current record is requeried following a save in order to pick up changes due to triggers and calculated columns.
LogTransactions64 Log SQL transactions to the xot_transactions table. By default logging will be performed to that table in the mapper's Database, but you can set the TransactionLogDatasource property on that DataSource to log elsewhere. The logging database should have the platform operational schema (if the IDatabaseAttributes has NoPlatformOpSchema set then logging will not be performed and an error will be logged to the DevLog).
UseDistinct128Query using the SQL DISTINCT keyword.
PopupDetail256Intended for programmatic use (use corresponding Page attributes for meta-data configuration). When a drilldown to detail is performed, pop up the detail.
NoTabOrdering512Do not apply automatic tab ordering/indexing on detail forms.
LogicalDelete1024Records should be logically deleted, rather than physically deleted, based on the LogicalDelete property.
NoClientValidation2048No client-side validation should be performed on the mapper's value.
NoHeaderFreezing4096Do not freeze the column or row headers when scrolling datasheet.
Unallocated8192This attribute is unallocated (previously ShowAggregates which is now a mapper property).
SkipCodeGeneration16384This mapper should be skipped during the generation of TypedMapper derived classes.
NoCount32768 This mapper should not implicitly query for count information. This option should be set on mappers having many, many rows (e.g. 100,000+) where a COUNT(*) can be very slow (on the order of several seconds). If this option is set, no total record count will be shown to the user in the datasheet UI.
NoDupeCheck65536This mapper should not perform duplicate checking (ignoring any field DupeCheck attributes).
AppendPKSort131072This mapper should append to the sort the primary key to ensure deterministic paging.
FastStart262144For performance the datasheet should not query unless a user filter has been supplied.
UseTransaction524288Wrap mapper insert/update/delete operations in a transaction and commit only if entire operation is successful.
GenerateRemoteMapper1048576Generate a RemoteMapper derived class for this mapper.
DataProvided2097152 Mapper data will be provided by an extension rather than by a direct DB query by the mapper. Note that this must be set in order to support caching of programmatically-provided data.
DebugMode1073741824The mapper should be configured for debugging.
See Also