TableNameAttribute constructor (1 of 2)
namespace: Serenity.Data.Mapping assembly: Serenity.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
- class TableNameAttribute
TableNameAttribute constructor (2 of 2)
namespace: Serenity.Data.Mapping assembly: Serenity.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
- enum ServerType
- class TableNameAttribute