CSharpCodeHelper Class
Provides helper methods for generating C# 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
Syntax
public class CSharpCodeHelper : CodeHelper
public ref class CSharpCodeHelper : CodeHelper
type CSharpCodeHelper =
class
inherit CodeHelper
end
Public Class CSharpCodeHelper
Inherits CodeHelper
Constructors
Name | Description | |
---|---|---|
CSharpCodeHelper() | Initializes a new instance of the CSharpCodeHelper class. |
Properties
Name | Description | |
---|---|---|
CodeProvider | Gets the code provider used to generate and compile C# code.(Overrides CodeHelper.CodeProvider.) |
Methods
Name | Description | |
---|---|---|
AnonymousType(IEnumerable<String>) | Gets the anonymous type lambda for the specified properties.(Overrides CodeHelper.AnonymousType(IEnumerable<String>).) |
|
Attribute(IAttributeConfiguration) | Returns the data annotations attribute used to apply the specified configuration.(Inherited from CodeHelper.) |
|
Attribute(String) | Gets an attribute with the specified body.(Overrides CodeHelper.Attribute(String).) |
|
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.(Inherited from CodeHelper.) |
|
Property(EdmMember) | Specifies the property identifier for the specified member.(Inherited from CodeHelper.) |
|
Property(EntitySetBase) | Specifies the property identifier for the specified entity set.(Inherited from CodeHelper.) |
|
StringArray(IEnumerable<String>) | Gets the string array literal for the specified values.(Overrides CodeHelper.StringArray(IEnumerable<String>).) |
|
ToString() | (Inherited from Object.) |
|
Type(EdmProperty) | Specifies the type of the specified property.(Inherited from CodeHelper.) |
|
Type(EdmType) | Specifies the type identifier for the specified type.(Inherited from CodeHelper.) |
|
Type(EntityContainer) | Specifies the type identifier for the specified container.(Inherited from CodeHelper.) |
|
Type(NavigationProperty) | Specifies the type of the specified navigation property.(Inherited from CodeHelper.) |
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