Export (0) Print
Expand All

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.

System.Object
  System.Data.Services.Design.EntityClassGenerator

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

public sealed class EntityClassGenerator

The EntityClassGenerator type exposes the following members.

  NameDescription
Public methodEntityClassGenerator()Initializes a new instance of the EntityClassGenerator class.
Public methodEntityClassGenerator(LanguageOption)Initializes a new instance of the EntityClassGenerator class.
Top

  NameDescription
Public propertyEdmToObjectNamespaceMapGets the EdmToObjectNamespaceMap object used in entity class generation.
Public propertyLanguageOptionGets the language option used in generation of the data model.
Public propertyUseDataServiceCollectionGets or sets whether code generation should include the code that is required to support data binding.
Public propertyVersionGets and sets the version of WCF Data Services that the generated code targets.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGenerateCode(XmlReader, String)Generates code for the object model.
Public methodGenerateCode(XmlReader, TextWriter, String)Generates code for the data model from switches identified by parameters.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventOnPropertyGeneratedOccurs when a property is generated.
Public eventOnTypeGeneratedOccurs when a type is generated.
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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