ColumnAttribute class

namespace: Serenity.Data.Mapping   assemblySerenity.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.

public class ColumnAttribute : Attribute

Public Members

name description
ColumnAttribute(…) Initializes a new instance of the ColumnAttribute class.
Name { get; } Gets the name.

See Also