TableColumnAttribute Class

 

The TableColumnAttribute can be used to annotate data model properties that represent system properties used by the TableController<'TData>. By indicating which columns are the id, version, createdAt, etc. columns, the various domain managers can leverage that information to provide the best possible mapping to any particular backend store.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Tables
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

System.Object
  System.Attribute
    Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumnAttribute

[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field,
    AllowMultiple = false, Inherited = true)>]
type TableColumnAttribute = 
    class
        inherit Attribute
    end

NameDescription
System_CAPS_pubmethodTableColumnAttribute(TableColumnType)

Initializes a new instance of the TableColumnAttribute with a given columnType.

NameDescription
System_CAPS_pubpropertyColumnType

The TableColumnType for property this attribute is applied to.

System_CAPS_pubpropertySystem_CAPS_staticTableColumnAnnotation

When registering the TableColumnAttribute with Entity Framework using a model builder code first convention, use this name as the table column annotation name. See https://entityframework.codeplex.com/wikipage?title=Code%20First%20Annotations for more information about Entity Framework code first conventions and code annotations.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: