Inheritance: IMappingBase, IHasMappedMembers
コード例 #1
0
 public bool Equals(MappedMembers other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.orderedMappings.ContentEquals(orderedMappings));
 }
コード例 #2
0
 public bool Equals(MappedMembers other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.properties.ContentEquals(properties) &&
            other.collections.ContentEquals(collections) &&
            other.references.ContentEquals(references) &&
            other.components.ContentEquals(components) &&
            other.oneToOnes.ContentEquals(oneToOnes) &&
            other.anys.ContentEquals(anys) &&
            other.joins.ContentEquals(joins) &&
            other.filters.ContentEquals(filters) &&
            other.storedProcedures.ContentEquals(storedProcedures));
 }
コード例 #3
0
 public JoinMapping(AttributeStore attributes)
 {
     this.attributes = attributes;
     mappedMembers   = new MappedMembers();
 }
コード例 #4
0
 public bool Equals(MappedMembers other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.properties.ContentEquals(properties) &&
         other.collections.ContentEquals(collections) &&
         other.references.ContentEquals(references) &&
         other.components.ContentEquals(components) &&
         other.oneToOnes.ContentEquals(oneToOnes) &&
         other.anys.ContentEquals(anys) &&
         other.joins.ContentEquals(joins) &&
         other.filters.ContentEquals(filters) &&
         other.storedProcedures.ContentEquals(storedProcedures);
 }
コード例 #5
0
 public JoinMapping(AttributeStore underlyingStore)
 {
     attributes    = new AttributeStore <JoinMapping>(underlyingStore);
     mappedMembers = new MappedMembers();
 }
 protected ComponentMapping(AttributeStore store)
     : base(store)
 {
     _attributes = new AttributeStore<ComponentMapping>(store);
     _mappedMembers = new MappedMembers();
 }