DomainService 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 DomainService type exposes the following members.

  Name Description
Protected method AuthorizeChangeSet Returns a value that indicates the whether the user is authorized to submit the specified ChangeSet.
Protected method Count<T> Returns the number of rows in an IQueryable.
Public method Dispose() Releases all resources used by the current instance of the DomainService class.
Protected method Dispose(Boolean) Releases all resources used by the current instance of the DomainService class.
Public method Equals (Inherited from Object.)
Protected method ExecuteChangeSet Invokes the DomainOperationEntry for each operation in the ChangeSet.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes this DomainService.
Public method Invoke Invokes the specified operation.
Public method IsAuthorized Requests authorization for the specified DomainOperationEntry.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnError Called whenever an unrecoverable error occurs during the processing of a DomainService operation.
Protected method PersistChangeSet Finalizes changes after all the operations in the ChangeSet have been invoked.
Public method Query Performs the query operation indicated by the specified QueryDescription.
Public method Submit Performs the operations indicated by the specified ChangeSet by invoking each of the corresponding domain operations.
Public method ToString (Inherited from Object.)
Protected method ValidateChangeSet Validates the whole ChangeSet before calling ExecuteChangeSet.