EntityClassGenerator Class
Used by the code generation command line tools and tools in Visual Studio to generate strongly typed client-side objects for communicating with data services.
Inheritance Hierarchy
System.Object
System.Data.Services.Design.EntityClassGenerator
Namespace: System.Data.Services.Design
Assembly: Microsoft.Data.Services.Design (in Microsoft.Data.Services.Design.dll)
Syntax
'Declaration
Public NotInheritable Class EntityClassGenerator
'Usage
Dim instance As EntityClassGenerator
public sealed class EntityClassGenerator
public ref class EntityClassGenerator sealed
[<SealedAttribute>]
type EntityClassGenerator = class end
public final class EntityClassGenerator
The EntityClassGenerator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EntityClassGenerator() | Initializes a new instance of the EntityClassGenerator class. | |
EntityClassGenerator(LanguageOption) | Initializes a new instance of the EntityClassGenerator class. |
Top
Properties
Name | Description | |
---|---|---|
EdmToObjectNamespaceMap | Gets the EdmToObjectNamespaceMap object used in entity class generation. | |
LanguageOption | Gets the language option used in generation of the data model. | |
UseDataServiceCollection | Gets or sets whether code generation should include the code that is required to support data binding. | |
Version | Gets and sets the version of WCF Data Services that the generated code targets. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GenerateCode(XmlReader, String) | Generates code for the object model. | |
GenerateCode(XmlReader, TextWriter, String) | Generates code for the data model from switches identified by parameters. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
OnPropertyGenerated | Occurs when a property is generated. | |
OnTypeGenerated | Occurs when a type is generated. |
Top
Remarks
This class is not intended for public use and is used by the code generation command line tools and tools in Visual Studio to generate strongly typed client-side objects for communicating with data services.
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.