Click or drag to resize

Module Methods

The Module type exposes the following members.

Methods
  NameDescription
Public methodDispose
Calls the protected Dispose method.
(Inherited from DbContext.)
Protected methodDispose(Boolean)
Disposes the context. The underlying ObjectContext is also disposed if it was created is by this context or ownership was passed to this context when this context was created. The connection to the database (DbConnection object) is also disposed if it was created is by this context or ownership was passed to this context when this context was created.
(Inherited from DbContext.)
Public methodEntry(Object)
Gets a DbEntityEntry object for the given entity providing access to information about the entity and the ability to perform actions on the entity.
(Inherited from DbContext.)
Public methodEntry``1(UMP)
Gets a DbEntityEntry object for the given entity providing access to information about the entity and the ability to perform actions on the entity.
(Inherited from DbContext.)
Public methodEquals (Inherited from DbContext.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from DbContext.)
Public methodGetType (Inherited from DbContext.)
Public methodGetValidationErrors
Validates tracked entities and returns a Collection of DbEntityValidationResult containing validation results.
(Inherited from DbContext.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnModelCreating
This method is called when the model for a derived context has been initialized, but before the model has been locked down and used to initialize the context. The default implementation of this method does nothing, but it can be overridden in a derived class such that the model can be further configured before it is locked down.
(Inherited from DbContext.)
Public methodSaveChanges
Saves all changes made in this context to the underlying database.
(Inherited from DbContext.)
Public methodSet(Type)
Returns a non-generic DbSet instance for access to entities of the given type in the context, the ObjectStateManager, and the underlying store.
(Inherited from DbContext.)
Public methodSet``1
Returns a DbSet instance for access to entities of the given type in the context, the ObjectStateManager, and the underlying store.
(Inherited from DbContext.)
Protected methodShouldValidateEntity
Extension point allowing the user to override the default behavior of validating only added and modified entities.
(Inherited from DbContext.)
Public methodToString (Inherited from DbContext.)
Protected methodValidateEntity
Extension point allowing the user to customize validation of an entity or filter out validation results. Called by GetValidationErrors.
(Inherited from DbContext.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
See Also