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
PrimaryKeyAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
Deveel
.Data.Mapping {
4
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
5
public
sealed
class
PrimaryKeyAttribute
:
ColumnConstraintAttribute
,
INamedConstraint
{
6
public
PrimaryKeyAttribute
(
string
name)
7
: base(
ColumnConstraints
.PrimaryKey) {
8
this.ConstraintName = name;
9
}
10
11
public
PrimaryKeyAttribute
()
12
: this(null) {
13
}
14
15
public
string
ConstraintName {
get
; set; }
16
}
17
}
Deveel
System
Definition:
NonSerializedAttribute.cs:3
Deveel.Data.Mapping.PrimaryKeyAttribute.PrimaryKeyAttribute
PrimaryKeyAttribute(string name)
Definition:
PrimaryKeyAttribute.cs:6
Deveel.Data.Mapping.ColumnConstraints
ColumnConstraints
Definition:
ColumnConstraints.cs:5
Deveel.Data.Mapping.INamedConstraint
Definition:
INamedConstraint.cs:4
Deveel.Data.Mapping.PrimaryKeyAttribute.PrimaryKeyAttribute
PrimaryKeyAttribute()
Definition:
PrimaryKeyAttribute.cs:11
Deveel.Data.Mapping.ColumnConstraintAttribute
Definition:
ColumnConstraintAttribute.cs:5
Deveel.Data.Mapping.PrimaryKeyAttribute
Definition:
PrimaryKeyAttribute.cs:5
Generated by
1.8.10