Show / Hide Table of Contents

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 Source

UniqueKeyAttribute()

Initializes a new instance of the UniqueKeyAttribute class.

Declaration
public UniqueKeyAttribute()
| Improve this Doc View Source

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 Source

Column

Gets or sets the name of the column.

Declaration
public string Column { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Name

Gets or sets the name of the unique key.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.