CSharpCodeHelper.Attribute Method
Namespace: Microsoft.Data.Entity.Design.CodeGeneration
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Overload List
Name | Description | |
---|---|---|
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).) |
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
attributeBody
Type: System.StringThe body of the attribute.
Return Value
Type: System.String
The attribute.
Return to top