Class TableAttribute
Indicates that the class maps to a database table or view.
Inheritance
System.Object
TableAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class TableAttribute : Attribute
Constructors
| Improve this Doc View SourceTableAttribute()
Initializes a new instance of the TableAttribute class.
Declaration
public TableAttribute()
TableAttribute(String)
Initializes a new instance of the TableAttribute class.
Declaration
public TableAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
TableAttribute(String, String, String)
Initializes a new instance of the TableAttribute class.
Declaration
public TableAttribute(string catalog, string schema, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | catalog | The database catalog. |
System.String | schema | The catalog schema. |
System.String | name | The schema table. |
Properties
| Improve this Doc View SourceCatalog
Gets or sets the name of the catalog.
Declaration
public string Catalog { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the table.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Schema
Gets or sets the name of the schema.
Declaration
public string Schema { get; set; }
Property Value
Type | Description |
---|---|
System.String |