@@ -15,23 +15,23 @@ public ClassMapping()
15
15
: this ( new AttributeStore ( ) )
16
16
{ }
17
17
18
- public IIdentityMapping Id => attributes . GetOrDefault < IIdentityMapping > ( "Id" ) ;
18
+ public IIdentityMapping Id => attributes . GetOrDefault < IIdentityMapping > ( ) ;
19
19
20
- public NaturalIdMapping NaturalId => attributes . GetOrDefault < NaturalIdMapping > ( "NaturalId" ) ;
20
+ public NaturalIdMapping NaturalId => attributes . GetOrDefault < NaturalIdMapping > ( ) ;
21
21
22
- public override string Name => attributes . GetOrDefault < string > ( "Name" ) ;
22
+ public override string Name => attributes . GetOrDefault < string > ( ) ;
23
23
24
- public override Type Type => attributes . GetOrDefault < Type > ( "Type" ) ;
24
+ public override Type Type => attributes . GetOrDefault < Type > ( ) ;
25
25
26
- public CacheMapping Cache => attributes . GetOrDefault < CacheMapping > ( "Cache" ) ;
26
+ public CacheMapping Cache => attributes . GetOrDefault < CacheMapping > ( ) ;
27
27
28
- public VersionMapping Version => attributes . GetOrDefault < VersionMapping > ( "Version" ) ;
28
+ public VersionMapping Version => attributes . GetOrDefault < VersionMapping > ( ) ;
29
29
30
- public DiscriminatorMapping Discriminator => attributes . GetOrDefault < DiscriminatorMapping > ( "Discriminator" ) ;
30
+ public DiscriminatorMapping Discriminator => attributes . GetOrDefault < DiscriminatorMapping > ( ) ;
31
31
32
- public bool IsUnionSubclass => attributes . GetOrDefault < bool > ( "IsUnionSubclass" ) ;
32
+ public bool IsUnionSubclass => attributes . GetOrDefault < bool > ( ) ;
33
33
34
- public TuplizerMapping Tuplizer => attributes . GetOrDefault < TuplizerMapping > ( "Tuplizer" ) ;
34
+ public TuplizerMapping Tuplizer => attributes . GetOrDefault < TuplizerMapping > ( ) ;
35
35
36
36
public override void AcceptVisitor ( IMappingModelVisitor visitor )
37
37
{
@@ -58,43 +58,43 @@ public override void AcceptVisitor(IMappingModelVisitor visitor)
58
58
base . AcceptVisitor ( visitor ) ;
59
59
}
60
60
61
- public string TableName => attributes . GetOrDefault < string > ( "TableName" ) ;
61
+ public string TableName => attributes . GetOrDefault < string > ( ) ;
62
62
63
- public int BatchSize => attributes . GetOrDefault < int > ( "BatchSize" ) ;
63
+ public int BatchSize => attributes . GetOrDefault < int > ( ) ;
64
64
65
- public object DiscriminatorValue => attributes . GetOrDefault < object > ( "DiscriminatorValue" ) ;
65
+ public object DiscriminatorValue => attributes . GetOrDefault < object > ( ) ;
66
66
67
- public string Schema => attributes . GetOrDefault < string > ( "Schema" ) ;
67
+ public string Schema => attributes . GetOrDefault < string > ( ) ;
68
68
69
- public bool Lazy => attributes . GetOrDefault < bool > ( "Lazy" ) ;
69
+ public bool Lazy => attributes . GetOrDefault < bool > ( ) ;
70
70
71
- public bool Mutable => attributes . GetOrDefault < bool > ( "Mutable" ) ;
71
+ public bool Mutable => attributes . GetOrDefault < bool > ( ) ;
72
72
73
- public bool DynamicUpdate => attributes . GetOrDefault < bool > ( "DynamicUpdate" ) ;
73
+ public bool DynamicUpdate => attributes . GetOrDefault < bool > ( ) ;
74
74
75
- public bool DynamicInsert => attributes . GetOrDefault < bool > ( "DynamicInsert" ) ;
75
+ public bool DynamicInsert => attributes . GetOrDefault < bool > ( ) ;
76
76
77
- public string OptimisticLock => attributes . GetOrDefault < string > ( "OptimisticLock" ) ;
77
+ public string OptimisticLock => attributes . GetOrDefault < string > ( ) ;
78
78
79
- public string Polymorphism => attributes . GetOrDefault < string > ( "Polymorphism" ) ;
79
+ public string Polymorphism => attributes . GetOrDefault < string > ( ) ;
80
80
81
- public string Persister => attributes . GetOrDefault < string > ( "Persister" ) ;
81
+ public string Persister => attributes . GetOrDefault < string > ( ) ;
82
82
83
- public string Where => attributes . GetOrDefault < string > ( "Where" ) ;
83
+ public string Where => attributes . GetOrDefault < string > ( ) ;
84
84
85
- public string Check => attributes . GetOrDefault < string > ( "Check" ) ;
85
+ public string Check => attributes . GetOrDefault < string > ( ) ;
86
86
87
- public string Proxy => attributes . GetOrDefault < string > ( "Proxy" ) ;
87
+ public string Proxy => attributes . GetOrDefault < string > ( ) ;
88
88
89
- public bool SelectBeforeUpdate => attributes . GetOrDefault < bool > ( "SelectBeforeUpdate" ) ;
89
+ public bool SelectBeforeUpdate => attributes . GetOrDefault < bool > ( ) ;
90
90
91
- public bool Abstract => attributes . GetOrDefault < bool > ( "Abstract" ) ;
91
+ public bool Abstract => attributes . GetOrDefault < bool > ( ) ;
92
92
93
- public string Subselect => attributes . GetOrDefault < string > ( "Subselect" ) ;
93
+ public string Subselect => attributes . GetOrDefault < string > ( ) ;
94
94
95
- public string SchemaAction => attributes . GetOrDefault < string > ( "SchemaAction" ) ;
95
+ public string SchemaAction => attributes . GetOrDefault < string > ( ) ;
96
96
97
- public string EntityName => attributes . GetOrDefault < string > ( "EntityName" ) ;
97
+ public string EntityName => attributes . GetOrDefault < string > ( ) ;
98
98
99
99
public bool Equals ( ClassMapping other )
100
100
{
0 commit comments