DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
deveeldb.git
src
deveeldb-linq
Deveel.Data.Mapping
UniqueAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
Deveel
.Data.Mapping {
4
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple =
false
, Inherited =
true
)]
5
public
sealed
class
UniqueAttribute
:
ColumnConstraintAttribute
,
INamedConstraint
{
6
public
UniqueAttribute
(
string
name)
7
: base(
ColumnConstraints
.Unique) {
8
this.ConstraintName = name;
9
}
10
11
public
UniqueAttribute
()
12
: this(null) {
13
}
14
15
public
string
ConstraintName {
get
; set; }
16
}
17
}
Deveel
System
Definition:
NonSerializedAttribute.cs:3
Deveel.Data.Mapping.UniqueAttribute.UniqueAttribute
UniqueAttribute(string name)
Definition:
UniqueAttribute.cs:6
Deveel.Data.Mapping.ColumnConstraints
ColumnConstraints
Definition:
ColumnConstraints.cs:5
Deveel.Data.Mapping.INamedConstraint
Definition:
INamedConstraint.cs:4
Deveel.Data.Mapping.UniqueAttribute.UniqueAttribute
UniqueAttribute()
Definition:
UniqueAttribute.cs:11
Deveel.Data.Mapping.ColumnConstraintAttribute
Definition:
ColumnConstraintAttribute.cs:5
Deveel.Data.Mapping.UniqueAttribute
Definition:
UniqueAttribute.cs:5
Generated by
1.8.10