CSharpCodeHelper.Attribute Method

 

Namespace:   Microsoft.Data.Entity.Design.CodeGeneration
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

Overload List

Name Description
System_CAPS_pubmethod Attribute(IAttributeConfiguration)

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

System_CAPS_protmethod Attribute(String)

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

See Also

CSharpCodeHelper Class
Microsoft.Data.Entity.Design.CodeGeneration Namespace

Return to top

CSharpCodeHelper.Attribute Method (String)

Gets an attribute with the specified body.

Syntax

protected override string Attribute(
    string attributeBody
)
protected:
virtual String^ Attribute(
    String^ attributeBody
) override
override Attribute : 
        attributeBody:string -> string
Protected Overrides Function Attribute (
    attributeBody As String
) As String

Parameters

Return Value

Type: System.String

The attribute.

Return to top