Persist.NET Documentation Class Library

AttributeNameAttribute Class

This attribute is used to specifed an Attribute Mapping Name. class.cs :

              [Persist.Attributes.AttributeName("Identitfier")]
              private string theId;
            
schema.xml :
  
              <Class name="....." >
              <Attribute name="Identitfier" column="Id" type="Guid" idgenerator="GUIDIdGenerator" key="primary" />
              ...
            

For a list of all members of this type, see AttributeNameAttribute Members.

System.Object
   Attribute
      AttributeNameAttribute

[Visual Basic]
NotInheritable Public Class AttributeNameAttribute
Inherits Attribute
[C#]
public sealed class AttributeNameAttribute : Attribute

Requirements

Namespace: Persist.Attributes

Assembly: Persist (in Persist.dll)

See Also

AttributeNameAttribute Members | Persist.Attributes Namespace