DatabaseAliasAttribute [Mapping]

Estrusco edited this page May 2, 2016 · 1 revision
Clone this wiki locally

[namespace: Serenity.Data] - [assembly: Serenity.Data]

{To-Do: Contents to check}

Thie attribute sets the alias for database to use in queries.

[DatabaseAlias("MyDBAlias")]
public sealed class ProductRow : Row, IIdRow, INameRow
{