EntityClassGenerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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. |