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)

System.Object
  Microsoft.Data.Entity.Design.CodeGeneration.CodeHelper
    Microsoft.Data.Entity.Design.CodeGeneration.CSharpCodeHelper

public class CSharpCodeHelper : CodeHelper

NameDescription
System_CAPS_pubmethodCSharpCodeHelper()

Initializes a new instance of the CSharpCodeHelper class.

NameDescription
System_CAPS_protpropertyCodeProvider

Gets the code provider used to generate and compile C# code.(Overrides CodeHelper.CodeProvider.)

NameDescription
System_CAPS_protmethodAnonymousType(IEnumerable<String>)

Gets the anonymous type lambda for the specified properties.(Overrides CodeHelper.AnonymousType(IEnumerable<String>).)

System_CAPS_pubmethodAttribute(IAttributeConfiguration)

Returns the data annotations attribute used to apply the specified configuration.(Inherited from CodeHelper.)

System_CAPS_protmethodAttribute(String)

Gets an attribute with the specified body.(Overrides CodeHelper.Attribute(String).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMethodChain(IFluentConfiguration)

Gets the Code First Fluent API method chain used to apply the specified configuration.(Inherited from CodeHelper.)

System_CAPS_pubmethodProperty(EdmMember)

Specifies the property identifier for the specified member.(Inherited from CodeHelper.)

System_CAPS_pubmethodProperty(EntitySetBase)

Specifies the property identifier for the specified entity set.(Inherited from CodeHelper.)

System_CAPS_protmethodStringArray(IEnumerable<String>)

Gets the string array literal for the specified values.(Overrides CodeHelper.StringArray(IEnumerable<String>).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodType(EdmProperty)

Specifies the type of the specified property.(Inherited from CodeHelper.)

System_CAPS_pubmethodType(EdmType)

Specifies the type identifier for the specified type.(Inherited from CodeHelper.)

System_CAPS_pubmethodType(EntityContainer)

Specifies the type identifier for the specified container.(Inherited from CodeHelper.)

System_CAPS_pubmethodType(NavigationProperty)

Specifies the type of the specified navigation property.(Inherited from CodeHelper.)

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