Наследование: 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();
 }
 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();
 }