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)
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumnAttribute
Syntax
[AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field,
AllowMultiple = false, Inherited = true)]
public sealed class TableColumnAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property | AttributeTargets::Field,
AllowMultiple = false, Inherited = true)]
public ref class TableColumnAttribute sealed : Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field,
AllowMultiple = false, Inherited = true)>]
type TableColumnAttribute =
class
inherit Attribute
end
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field,
AllowMultiple := False, Inherited := True)>
Public NotInheritable Class TableColumnAttribute
Inherits Attribute
Constructors
Name | Description | |
---|---|---|
TableColumnAttribute(TableColumnType) | Initializes a new instance of the TableColumnAttribute with a given columnType. |
Properties
Name | Description | |
---|---|---|
ColumnType | The TableColumnType for property this attribute is applied to. |
|
TableColumnAnnotation | 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. |
|
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Attribute.) |
|
GetHashCode() | (Inherited from Attribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Mobile.Service.Tables Namespace
Return to top