@@ -26,7 +26,6 @@ public abstract class Collection : IFetchable, IValue, IFilterable
26
26
27
27
private IKeyValue key ;
28
28
private IValue element ;
29
- private string elementNodeName ;
30
29
private Table collectionTable ;
31
30
private string role ;
32
31
private bool lazy ;
@@ -47,7 +46,6 @@ public abstract class Collection : IFetchable, IValue, IFilterable
47
46
private string referencedPropertyName ;
48
47
private string typeName ;
49
48
private bool embedded = true ;
50
- private string nodeName ;
51
49
52
50
private string loaderName ;
53
51
@@ -397,19 +395,6 @@ public virtual void Validate(IMapping mapping)
397
395
}
398
396
399
397
CheckColumnDuplication ( ) ;
400
-
401
- if ( elementNodeName != null && elementNodeName . StartsWith ( "@" ) )
402
- {
403
- throw new MappingException ( string . Format ( "element node must not be an attribute: {0}" , elementNodeName ) ) ;
404
- }
405
- if ( elementNodeName != null && elementNodeName . Equals ( "." ) )
406
- {
407
- throw new MappingException ( string . Format ( "element node must not be the parent: {0}" , elementNodeName ) ) ;
408
- }
409
- if ( nodeName != null && nodeName . IndexOf ( '@' ) > - 1 )
410
- {
411
- throw new MappingException ( string . Format ( "collection node must not be an attribute: {0}" , elementNodeName ) ) ;
412
- }
413
398
}
414
399
415
400
public bool [ ] ColumnInsertability
@@ -566,12 +551,6 @@ public bool IsOptimisticLocked
566
551
set { optimisticLocked = value ; }
567
552
}
568
553
569
- public string ElementNodeName
570
- {
571
- get { return elementNodeName ; }
572
- set { elementNodeName = value ; }
573
- }
574
-
575
554
public bool Embedded
576
555
{
577
556
get { return embedded ; }
@@ -642,12 +621,6 @@ public bool IsMutable
642
621
set { mutable = value ; }
643
622
}
644
623
645
- public string NodeName
646
- {
647
- get { return nodeName ; }
648
- set { nodeName = value ; }
649
- }
650
-
651
624
public ISet < string > SynchronizedTables
652
625
{
653
626
get { return synchronizedTables ; }
0 commit comments