CodeHelper Class
Represents the helper methods for generating code.
Namespace: Microsoft.Data.Entity.Design.CodeGeneration
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Inheritance Hierarchy
System.Object
Microsoft.Data.Entity.Design.CodeGeneration.CodeHelper
Microsoft.Data.Entity.Design.CodeGeneration.CSharpCodeHelper
Microsoft.Data.Entity.Design.CodeGeneration.VBCodeHelper
Syntax
public abstract class CodeHelper
public ref class CodeHelper abstract
[<AbstractClass>]
type CodeHelper = class end
Public MustInherit Class CodeHelper
Constructors
Name | Description | |
---|---|---|
CodeHelper() | Initializes a new instance of the CodeHelper class. |
Properties
Name | Description | |
---|---|---|
CodeProvider | Gets the provider for the language of the generated code. |
Methods
Name | Description | |
---|---|---|
AnonymousType(IEnumerable<String>) | Specifies the anonymous type lambda for the specified properties. |
|
Attribute(IAttributeConfiguration) | Returns the data annotations attribute used to apply the specified configuration. |
|
Attribute(String) | Returns an attribute with the specified body. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
MethodChain(IFluentConfiguration) | Gets the Code First Fluent API method chain used to apply the specified configuration. |
|
Property(EdmMember) | Specifies the property identifier for the specified member. |
|
Property(EntitySetBase) | Specifies the property identifier for the specified entity set. |
|
StringArray(IEnumerable<String>) | Gets the string array literal for the specified values. |
|
ToString() | (Inherited from Object.) |
|
Type(EdmProperty) | Specifies the type of the specified property. |
|
Type(EdmType) | Specifies the type identifier for the specified type. |
|
Type(EntityContainer) | Specifies the type identifier for the specified container. |
|
Type(NavigationProperty) | Specifies the type of the specified navigation property. |
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
Microsoft.Data.Entity.Design.CodeGeneration Namespace
Return to top