Class UniqueKeyAttribute
Indicates that the property is part of a database unique key.
Inheritance
System.Object
UniqueKeyAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class UniqueKeyAttribute : Attribute
Constructors
| Improve this Doc View SourceUniqueKeyAttribute()
Initializes a new instance of the UniqueKeyAttribute class.
Declaration
public UniqueKeyAttribute()
UniqueKeyAttribute(String, String)
Initializes a new instance of the UniqueKeyAttribute class.
Declaration
public UniqueKeyAttribute(string name, string column)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the unique key. |
System.String | column | The name of the column. |
Properties
| Improve this Doc View SourceColumn
Gets or sets the name of the column.
Declaration
public string Column { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the unique key.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |