Compartilhar via


DomainDataService Class

[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.]

Provides a data service on top of a domain service.

Inheritance Hierarchy

System.Object
  System.Data.Services.DataService<Object>
    System.ServiceModel.DomainServices.Hosting.OData.DomainDataService

Namespace:  System.ServiceModel.DomainServices.Hosting.OData
Assembly:  System.ServiceModel.DomainServices.Hosting.OData (in System.ServiceModel.DomainServices.Hosting.OData.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Class DomainDataService _
    Inherits DataService(Of Object) _
    Implements IServiceProvider
'Usage
Dim instance As DomainDataService
[BrowsableAttribute(false)]
public class DomainDataService : DataService<Object>, 
    IServiceProvider
[BrowsableAttribute(false)]
public ref class DomainDataService : public DataService<Object^>, 
    IServiceProvider
[<BrowsableAttribute(false)>]
type DomainDataService =  
    class
        inherit DataService<Object>
        interface IServiceProvider
    end
public class DomainDataService extends DataService<Object> implements IServiceProvider

The DomainDataService type exposes the following members.

Properties

  Name Description
Protected property CurrentDataSource (Inherited from DataService<Object>.)
Public property ProcessingPipeline (Inherited from DataService<Object>.)

Top

Methods

  Name Description
Public method AttachHost (Inherited from DataService<Object>.)
Protected method CreateDataSource (Inherited from DataService<Object>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetService Gets the data service object of the specified type.
Public method GetType (Inherited from Object.)
Protected method HandleException (Inherited from DataService<Object>.)
Public methodStatic member InitializeService Initializes configuration for the service instance.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnStartProcessingRequest (Inherited from DataService<Object>.)
Public method ProcessRequest (Inherited from DataService<Object>.)
Public method ProcessRequestForMessage (Inherited from DataService<Object>.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.ServiceModel.DomainServices.Hosting.OData Namespace