Table of Contents

Class SqlTableAttribute

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Maps a class or interface to a database table, overriding the table name that would otherwise be derived from the CLR type name.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = false)]
public class SqlTableAttribute : Attribute
Inheritance
SqlTableAttribute
Inherited Members
Extension Methods

Constructors

SqlTableAttribute(string)

Initializes a new instance of the SqlTableAttribute class.

public SqlTableAttribute(string name)

Parameters

name string

The database table name to use for the annotated type.

Properties

Name

The database table name for the annotated type.

public string Name { get; }

Property Value

string