comparison Source/Mapping/Fluent/Attributes.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 namespace BLToolkit.Mapping.Fluent
2 {
3 /// <summary>
4 /// Used Attribute Names
5 /// </summary>
6 /// <typeparam name="T"></typeparam>
7 public partial class FluentMap<T>
8 {
9 protected static class Attributes
10 {
11 public static class TableName
12 {
13 public const string Name = "TableName";
14
15 public const string Database = "DatabaseName";
16
17 public const string Owner = "OwnerName";
18 }
19
20 public static class MapField
21 {
22 public const string Name = "MapField";
23
24 public const string Storage = "FieldStorage";
25
26 public const string IsInheritanceDiscriminator = "IsInheritanceDiscriminator";
27
28 public const string OrigName = "OrigName";
29
30 public const string MapName = "MapName";
31 }
32
33 public static class PrimaryKey
34 {
35 public const string Order = "PrimaryKey";
36 }
37
38 public static class SqlIgnore
39 {
40 public const string Ignore = "SqlIgnore";
41 }
42
43 public static class MapIgnore
44 {
45 public const string Ignore = "MapIgnore";
46 }
47
48 public static class MapValue
49 {
50 public const string Name = "MapValue";
51
52 public const string OrigValue = "OrigValue";
53 }
54
55 public static class Nullable
56 {
57 public const string IsNullable = "Nullable";
58 }
59
60 public static class LazyInstance
61 {
62 public const string IsLazyInstance = "LazyInstance";
63 }
64
65 public static class InheritanceMapping
66 {
67 public const string Name = "InheritanceMapping";
68
69 public const string Code = "Code";
70
71 public const string IsDefault = "IsDefault";
72
73 public const string Type = "Type";
74 }
75
76 public static class Association
77 {
78 public const string ThisKey = "ThisKey";
79
80 public const string OtherKey = "OtherKey";
81
82 public const string Storage = "Storage";
83 }
84
85 public const string NonUpdatable = "NonUpdatable";
86
87 public const string Identity = "Identity";
88
89 public const string Trimmable = "Trimmable";
90
91 public const string DefaultValue = "DefaultValue";
92
93 public const string DbType = "DbType";
94
95 public static class MemberMapper
96 {
97 public const string Name = "MemberMapper";
98
99 public const string MemberType = "MemberType";
100
101 public const string MemberMapperType = "MemberMapperType";
102 }
103
104 public const string NullValue = "NullValue";
105 }
106 }
107 }