示例#1
0
 public EntityHashSet(HashSet <TResource> entities,
                      Dictionary <RelationshipAttribute, HashSet <TResource> > relationships) : base(entities)
 {
     AffectedRelationships = new RelationshipsDictionary <TResource>(relationships);
 }
 public ResourceHashSet(HashSet <TResource> resources,
                        Dictionary <RelationshipAttribute, HashSet <TResource> > relationships) : base(resources)
 {
     _relationships = new RelationshipsDictionary <TResource>(relationships);
 }