public HierarchyArgumentTests() { mapping = DocumentMapping.For<Squad>(); arg = new HierarchyArgument(mapping); mapping.AddSubClass(typeof(BasketballTeam)); mapping.AddSubClass(typeof(BaseballTeam)); mapping.AddSubClass(typeof(FootballTeam), "football"); }
public HierarchyArgumentTests() { mapping = new DocumentMapping(typeof(Squad), new StoreOptions()); arg = new HierarchyArgument(mapping); mapping.AddSubClass(typeof(BasketballTeam)); mapping.AddSubClass(typeof(BaseballTeam)); mapping.AddSubClass(typeof(FootballTeam), "football"); }
protected bool Equals(HierarchyArgument other) { return Equals(Mapping, other.Mapping); }