TableNameAttribute constructor (1 of 2)

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Data

Initializes a new instance of the TableNameAttribute class.

public TableNameAttribute(string name)
parameter description
name The name.

Exceptions

exception condition
ArgumentNullException name

See Also


TableNameAttribute constructor (2 of 2)

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Data

Initializes a new instance of the TableNameAttribute class.

public TableNameAttribute(string name, params ServerType[] serverTypes)
parameter description
name The name.
serverTypes Dialects like MySql, Sqlite.

Exceptions

exception condition
ArgumentNullException name

See Also