Share via


DataServiceBuildProvider Class

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Generates C# or Visual Basic code for a WCF Data Services client application based on the metadata returned by the data service.

Inheritance Hierarchy

System.Object
  System.Web.Compilation.BuildProvider
    System.Data.Services.BuildProvider.DataServiceBuildProvider

Namespace:  System.Data.Services.BuildProvider
Assembly:  Microsoft.Data.Services.Design (in Microsoft.Data.Services.Design.dll)

Syntax

'Declaration
<SecurityCriticalAttribute> _
Public Class DataServiceBuildProvider _
    Inherits BuildProvider
'Usage
Dim instance As DataServiceBuildProvider
[SecurityCriticalAttribute]
public class DataServiceBuildProvider : BuildProvider
[SecurityCriticalAttribute]
public ref class DataServiceBuildProvider : public BuildProvider
[<SecurityCriticalAttribute>]
type DataServiceBuildProvider =  
    class 
        inherit BuildProvider 
    end
public class DataServiceBuildProvider extends BuildProvider

The DataServiceBuildProvider type exposes the following members.

Constructors

  Name Description
Public method DataServiceBuildProvider Creates a new instance of the DataServiceBuildProvider class.

Top

Properties

  Name Description
Public property CodeCompilerType (Inherited from BuildProvider.)
Protected property ReferencedAssemblies (Inherited from BuildProvider.)
Protected property VirtualPath (Inherited from BuildProvider.)
Public property VirtualPathDependencies (Inherited from BuildProvider.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateCode Generates C# or Visual Basic code for a WCF Data Services client application based on the metadata returned by the data service. (Overrides BuildProvider.GenerateCode(AssemblyBuilder).)
Protected method GetCodeCompileUnit (Inherited from BuildProvider.)
Public method GetCustomString (Inherited from BuildProvider.)
Protected method GetDefaultCompilerType (Inherited from BuildProvider.)
Protected method GetDefaultCompilerTypeForLanguage (Inherited from BuildProvider.)
Public method GetGeneratedType (Inherited from BuildProvider.)
Public method GetHashCode (Inherited from Object.)
Public method GetResultFlags (Inherited from BuildProvider.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OpenReader() (Inherited from BuildProvider.)
Protected method OpenReader(String) (Inherited from BuildProvider.)
Protected method OpenStream() (Inherited from BuildProvider.)
Protected method OpenStream(String) (Inherited from BuildProvider.)
Public method ProcessCompileErrors (Inherited from BuildProvider.)
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.Data.Services.BuildProvider Namespace