Skip to content

Entity Framework DatabaseAliasAttribute [Mapping]

Victor Tomaili edited this page May 3, 2021 · 1 revision

[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
{
Clone this wiki locally