EntityClassGenerator Class

Definition

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.

public ref class EntityClassGenerator sealed
public sealed class EntityClassGenerator
type EntityClassGenerator = class
Public NotInheritable Class EntityClassGenerator
Inheritance
EntityClassGenerator

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.

Constructors

EntityClassGenerator()

Initializes a new instance of the EntityClassGenerator class.

EntityClassGenerator(LanguageOption)

Initializes a new instance of the EntityClassGenerator class.

Properties

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 or sets the version of WCF Data Services that the generated code targets.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(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()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

OnPropertyGenerated

Occurs when a property is generated.

OnTypeGenerated

Occurs when a type is generated.

Applies to