Click or drag to resize

DataContext Properties

The DataContext type exposes the following members.

Properties
  Name Description
Public property AddCheckBoxFieldTemplate Gets or sets the check box field razor template file name.
Public property AddDateFieldTemplate Gets or sets the date field razor template file name.
Public property AddInputFieldTemplate Gets or sets the input field razor template file name.
Public property AddSelectFieldTemplate Gets or sets the select field razor template file name.
Public property AddTextAreaFieldTemplate Gets or sets the text area field razor template file name.
Public property Connection Gets the AdoDataConnection for this DataContext, creating a new one if needed.
Public property CustomTableOperationTokens Gets dictionary of per-model custom tokens to use with AmendExpressionAttribute values for TableOperationsT in this DataContext .
Public property DefinedDateFields Gets defined date fields, if any.
Public property FieldValidationParameters Gets validation pattern and error message for rendered fields, if any.
Public property FieldValueInitializers Gets field value initializers, if any.
Public property InitialFocusField Gets field name designated for initial focus.
Public property RazorEngine Gets reference to IRazorEngine used by this DataContext.
Public property ReadonlyHotLinkFields Gets any text input fields that should render clickable URLs and e-mail addresses when in view mode.
Top
See Also