DomainContext Methods

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

The DomainContext type exposes the following members.

  Name Description
Public method AddReference Adds a reference to an external DomainContext.
Protected method CreateEntityContainer Creates and returns an entity container configured with EntitySet objects for all entities this DomainContext will provide access to.
Protected method CreateQuery<TEntity> Creates an EntityQuery.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InvokeOperation(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation>, Object) Executes an invoke operation.
Public method InvokeOperation<TValue>(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation<TValue>>, Object) Executes an invoke operation.
Public method Load(EntityQuery, LoadBehavior, Action<LoadOperation>, Object) Initiates a load operation for the specified query with the specified load behavior, callback method, and user state.
Public method Load<TEntity>(EntityQuery<TEntity>) Initiates a load operation for the specified query.
Public method Load<TEntity>(EntityQuery<TEntity>, Boolean) Initiates a load operation for the specified query with the specified value indicating whether an error results in an exception.
Public method Load<TEntity>(EntityQuery<TEntity>, Action<LoadOperation<TEntity>>, Object) Initiates a load operation for the specified query with the specified callback method, and user state.
Public method Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Boolean) Initiates a load operation for the specified query with the specified load behavior, and value indicating whether an error results in an exception.
Public method Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Action<LoadOperation<TEntity>>, Object) Initiates a load operation for the specified query with the specified load behavior, callback method, and user state.
Protected method MemberwiseClone (Inherited from Object.)
Protected method RaisePropertyChanged Raises the PropertyChanged event for the specified property.
Public method RejectChanges Reverts all pending changes for this DomainContext.
Public method SubmitChanges() Submits all pending changes to the domain service.
Public method SubmitChanges(Action<SubmitOperation>, Object) Submits all pending changes to the domain service.
Public method ToString (Inherited from Object.)
Protected method ValidateMethod Validates a method call.
Top
Show: