The BrightstarEntityContext type exposes the following members.

Methods

  NameDescription
Public methodBecome<(Of <<'(T>)>>)
Rebinds a resource to a new entity type
Protected methodCleanup
This method is invoked when the entity context is being disposed.
(Overrides EntityContext..::..Cleanup()()()().)
Public methodCreateObject<(Of <<'(T>)>>)
Creates a new domain context object
Public methodDeleteObject
Deletes an domain context object from the store
(Overrides EntityContext..::..DeleteObject(Object).)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from EntityContext.)
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
(Overrides EntityContext..::..ExecuteInstanceQuery<(Of <<'(T>)>>)(String, String).)
Public methodExecuteQuery(String)
Method invoked to execute a SPARQL query against the underlying store
(Overrides EntityContext..::..ExecuteQuery(String).)
Public methodExecuteQuery<(Of <<'(T>)>>)(SparqlLinqQueryContext)
Executes a SPARQL query against the underlying store and binds the results to domain context objects
(Overrides EntityContext..::..ExecuteQuery<(Of <<'(T>)>>)(SparqlLinqQueryContext).)
Public methodExecuteQuery<(Of <<'(T>)>>)(SparqlQueryContext)
Executes a SPARQL query against the underlying store and binds the results to domain context objects
Public methodExecuteQuery<(Of <<'(T>)>>)(String, List<(Of <<'(Tuple<(Of <<'(String, String>)>>)>)>>))
Executes a SPARQL query against the underlying store and binds the results to domain context objects
Public methodExecuteQueryToResultTypes
Executes a SPARQL query against the underlying store and binds the results to domain context objects based on the info (rdf:type) found in the
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from EntityContext.)
Public methodGetDataset
Return the list of graphs to query or null to query the default dataset
(Overrides EntityContext..::..GetDataset()()()().)
Public methodGetDatatype
Return the RDF datatype to apply to literals of the specified system type.
(Overrides EntityContext..::..GetDatatype(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
(Inherited from EntityContext.)
Public methodGetPropertyHint
Returns the property hint for the specified .NET property
(Inherited from EntityContext.)
Public methodGetResourceAddress
Returns the URI of the RDF resource that represents the entity in the store
(Inherited from EntityContext.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeForUri
Returns the entity implementation type for a given uri
(Inherited from EntityContext.)
Public methodIsOfMappedType
Returns true if o is an instance of one of the entity implementation types known to this context
(Inherited from EntityContext.)
Public methodMapIdToUri
Implements the mapping between a domain object's identity string and the underlying store resource identity.
(Overrides EntityContext..::..MapIdToUri(PropertyInfo, String).)
Public methodMapTypeToUri
Returns the RDF schema type for the specified entity interface or implementation type
(Inherited from EntityContext.)
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
(Overrides EntityContext..::..Refresh(RefreshMode, IEnumerable).)
Public methodRefresh(RefreshMode, Object)
Updates a single object in the object context with data from the data source
(Overrides EntityContext..::..Refresh(RefreshMode, Object).)
Public methodSaveChanges
Commit local changes to the underlying store
(Overrides EntityContext..::..SaveChanges()()()().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbecome<(Of <<'(T>)>>)
Removes a type identifier from a resource

See Also