ColumnAttribute class
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Explicitly specifies the database column name for property. Use this attribute if matching column name in database is different than the property name.
[AttributeUsage(AttributeTargets.All)]
public class ColumnAttribute : Attribute
Public Members
name | description |
---|---|
ColumnAttribute(…) | Initializes a new instance of the ColumnAttribute class. |
Name { get; } | Gets the name. |
See Also
- Source: ColumnAttribute.cs