Click or drag to resize

FieldTableAttrs Enumeration

Attributes specifying how the corresponding Table should be handled. Typically applies to fields marked PK only.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum FieldTableAttrs
Members
  Member nameValueDescription
AllowInsertOnUpdate1 When performing an UPDATE operation the IMapper should execute a SQL INSERT statement on this IField's corresponding Table if the IField's value is null/empty. Applies only to fields marked PK. The most like case for this would be a mapper based on a view that uses a LEFT JOIN such that while a row exists, some fields in the row correspond to columns from a table LEFT JOINed into the view and having no corresponding record. In such a case, a change to fields in the row may involve updating an existing record, or creating a new record, on a table-by-table basis.
See Also