Signals that a class should use a custom table mapping. See also
INamingStrategy for performing database wide naming schemes.

C# | Visual Basic |
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class TableAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _ Public NotInheritable Class TableAttribute _ Inherits Attribute

All Members | Constructors | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | TableAttribute(String) |
Initializes a new instance of the TableAttribute class.
|
![]() | IdColumnName |
Gets or sets the name of the Id column in the underlying table.
|
![]() | Name |
Gets the target table name.
|