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
MemberMapping.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Reflection;
3
4
using
Deveel
.
Data
.
Types
;
5
6
namespace
Deveel
.Data.Mapping {
7
public
sealed
class
MemberMapping
{
8
internal
MemberMapping
(
TypeMapping
typeMapping, MemberInfo member,
string
columnName,
SqlType
columnType,
bool
notNull,
bool
primaryKey,
bool
unique,
bool
uniqueKey) {
9
TypeMapping
= typeMapping;
10
Member = member;
11
ColumnName = columnName;
12
ColumnType
= columnType;
13
NotNull
= notNull;
14
PrimaryKey = primaryKey;
15
Unique = unique;
16
UniqueKey = uniqueKey;
17
}
18
19
public
MemberInfo Member {
get
;
private
set; }
20
21
public
TypeMapping
TypeMapping
{
get
;
private
set; }
22
23
public
string
MemberName {
24
get
{
return
Member.Name; }
25
}
26
27
public
string
ColumnName {
get
;
private
set; }
28
29
public
SqlType
ColumnType
{
get
;
private
set; }
30
31
public
bool
NotNull
{
get
;
private
set; }
32
33
public
bool
PrimaryKey {
get
;
private
set; }
34
35
public
bool
Unique {
get
;
private
set; }
36
37
public
bool
UniqueKey {
get
;
private
set; }
38
}
39
}
Deveel
System
Definition:
NonSerializedAttribute.cs:3
Deveel.Data.Mapping.MemberMapping.MemberMapping
MemberMapping(TypeMapping typeMapping, MemberInfo member, string columnName, SqlType columnType, bool notNull, bool primaryKey, bool unique, bool uniqueKey)
Definition:
MemberMapping.cs:8
Deveel.Data.Types.ColumnType
Definition:
ColumnType.cs:22
Deveel.Data.Types.SqlType
Defines the properties of a specific SQL Type and handles the values compatible.
Definition:
SqlType.cs:33
Deveel.Data.Mapping.TypeMapping
Definition:
TypeMapping.cs:6
Deveel.Data.Types
Definition:
ArrayType.cs:21
Deveel.Data
Definition:
ActiveSessionList.cs:22
Deveel.Data.Mapping.MemberMapping
Definition:
MemberMapping.cs:7
Deveel.Data.Mapping.ColumnConstraints.NotNull
Generated by
1.8.10