Click or drag to resize

DataContext Methods

The DataContext type exposes the following members.

Methods
  Name Description
Public method AddCheckBoxField(String, String, String, String, String, String, String, String, Boolean) Generates template based check box field based on specified parameters.
Public method AddCheckBoxFieldTModel(String, String, String, String, String, String, String, String, Boolean) Generates template based check box field based on reflected modeled table field attributes.
Public method AddDateField(String, Boolean, Int32, String, String, String, String, String, String, String, String, String, Boolean) Generates template based input date field based on specified parameters.
Public method AddDateFieldTModel(String, String, String, String, String, String, String, String, String, String, Boolean) Generates template based input date field based on reflected modeled table field attributes.
Public method AddFieldValidation Adds a new pattern based validation and option error message to a field.
Public method AddFieldValueInitializer(String, String) Adds a new field value initializer.
Public method AddFieldValueInitializerTModel(String) Adds a new field value initializer based on modeled table field attributes.
Public method AddInputField(String, Boolean, Int32, String, String, String, String, String, String, String, String, String, Boolean, Boolean) Generates template based input text field based on specified parameters.
Public method AddInputFieldTModel(String, String, String, String, String, String, String, String, String, String, Boolean, Boolean) Generates template based input text field based on reflected modeled table field attributes.
Public method AddPageDefinedFieldInitialization Adds field initialization, and optional validation, from a page-defined (e.g., loaded from database) parameter definition.
Public method AddReadOnlyHotLinkField Renders a read-only field with enabled hot links for a given text input field when in view mode.
Public method AddSelectFieldTModel(DictionaryString, String, String, Boolean, String, String, String, String, String, String, String, String, String, Boolean, Boolean, String, Boolean, String, Boolean, String, String) Generates template based select field based on a dictionary of field attributes.
Public method AddSelectFieldTOption(String, Boolean, String, String, String, String, String, String, String, String, String, String, String, String, Boolean, RecordRestriction, Boolean, String, Boolean, String, Boolean, String, String) Generates template based select field based on specified parameters.
Public method AddSelectFieldTModel, TOption(String, String, String, String, String, String, String, String, String, String, String, String, String, Boolean, RecordRestriction, Boolean, String, Boolean, String, Boolean, String, String) Generates template based select field based on reflected modeled table field attributes.
Public method AddSelectFieldFromEnumTOption(String, Boolean, String, String, String, String, String, String, String, String, String, Boolean, Boolean, String, Boolean, String, Boolean, String, String) Generates template based select field based on specified parameters.
Public method AddSelectFieldFromEnumTModel, TOption(String, String, String, String, String, String, String, String, String, String, Boolean, Boolean, String, Boolean, String, Boolean, String, String) Generates template based select field based on reflected modeled enum field attributes.
Public method AddTextAreaField(String, Boolean, Int32, Int32, String, String, String, String, String, String, String, String, Boolean, Boolean) Generates template based text area field based on specified parameters.
Public method AddTextAreaFieldTModel(String, Int32, String, String, String, String, String, String, String, String, Boolean, Boolean) Generates template based text area field based on reflected modeled table field attributes.
Public method ConfigureView(HttpRequestMessage, Object) Configures a simple view with common view bag parameters.
Public method ConfigureView(RequestContext, Object) Configures a simple view with common view bag parameters.
Public method ConfigureView(String, Object) Configures a simple view with common view bag parameters.
Public method ConfigureView(Type, Type, HttpRequestMessage, Object) Configures a view establishing user roles based on modeled table model and SignalR hub.
Public method ConfigureView(Type, Type, String, Object) Configures a view establishing user roles based on modeled table model and SignalR hub.
Public method ConfigureView(Type, Type, RequestContext, Object) Configures a view establishing user roles based on modeled table model and SignalR hub.
Public method ConfigureViewTModel, THub(HttpRequestMessage, Object) Configures a view establishing user roles based on modeled table TModel and SignalR THub.
Public method ConfigureViewTModel, THub(RequestContext, Object) Configures a view establishing user roles based on modeled table TModel and SignalR THub.
Public method ConfigureViewTModel, THub(String, Object) Configures a view establishing user roles based on modeled table TModel and SignalR THub.
Public method Dispose Releases all the resources used by the DataContext object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DataContext object and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method EstablishUserRolesForPage(Type, RecordOperationsCache, Object) Looks up proper user roles for paged based on modeled security in RecordOperationsCache.
Public method EstablishUserRolesForPage(Type, Type, Object) Looks up proper user roles for paged based on modeled security in RecordOperationsCache.
Public method EstablishUserRolesForPageTModel(RecordOperationsCache, Object) Looks up proper user roles for paged based on modeled security in RecordOperationsCache.
Public method EstablishUserRolesForPageTModel, THub(Object) Looks up proper user roles for paged based on modeled security in RecordOperationsCache.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetIsDeletedFlag(Type) Gets the field name targeted to mark a record as deleted.
Public method GetIsDeletedFlagTModel Gets the field name targeted to mark a record as deleted.
Public method GetPrimaryLabelField(Type) Gets the field name targeted as the primary label for the modeled table.
Public method GetPrimaryLabelFieldTModel Gets the field name targeted as the primary label for the modeled table.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method RenderLookupFunctionTModel Renders client-side Javascript function for looking up single values from a table.
Public method RenderViewModelConfigurationTModel(RecordOperationsCache, Object, String, String, String, Object) Renders client-side configuration script for paged view model.
Public method RenderViewModelConfigurationTModel, THub(Object, String, String, Object) Renders client-side configuration script for paged view model.
Public method Table(Type) Gets the table operations for the specified modeled table type model.
Public method TableTModel Gets the table operations for the specified modeled table TModel.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method UserIsInGroup(SecurityPrincipal, String) Determines if user is in a specific group or list of groups (comma separated).
Public method UserIsInGroup(SecurityPrincipal, String) Determines if user is in one of the provided of groups.
Public method UserIsInRole(SecurityPrincipal, String) Determines if user is in a specific role or list of roles (comma separated).
Public method UserIsInRole(SecurityPrincipal, String) Determines if user is in one of the provided of roles.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also