The EntityContext type exposes the following members.

Constructors

  NameDescription
Protected methodEntityContext
Constructor for an EntityContext object that uses the ReflectionMappingProvider to populate its entity type and property mappings.

Methods

  NameDescription
Protected methodCleanup
This method is invoked when the entity context is being disposed.
Public methodDeleteObject
Deletes an entity object and all of its properties from the entity context
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteInstanceQuery<(Of <<'(T>)>>)
Handler for the special case query that selects a specific instance of a type
Public methodExecuteQuery(String)
Method invoked to execute a SPARQL query against the underlying store
Public methodExecuteQuery<(Of <<'(T>)>>)(SparqlLinqQueryContext)
Method to execute a SPARQL query against the underlying store and bind its results to instances of a class
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Overrides Object..::..Finalize()()()().)
Public methodGetDataset
Return the list of graphs to query or null to query the default dataset
Public methodGetDatatype
Return the RDF datatype to apply to literals of the specified system type.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetImplType
Returns the entity implementation type for an entity interface type
Public methodGetPropertyHint
Returns the property hint for the specified .NET property
Public methodGetResourceAddress
Returns the URI of the RDF resource that represents the entity in the store
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeForUri
Returns the entity implementation type for a given uri
Public methodIsOfMappedType
Returns true if o is an instance of one of the entity implementation types known to this context
Public methodMapIdToUri
Converts an ID property value to a full URI
Public methodMapTypeToUri
Returns the RDF schema type for the specified entity interface or implementation type
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefresh(RefreshMode, IEnumerable)
Update a collection of objects in the object context with data from the data source
Public methodRefresh(RefreshMode, Object)
Updates a single object in the object context with data from the data source
Public methodSaveChanges
Commit local changes to the underlying store
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also