public virtual void JoinedSubClass <TSubclass>(string keyColumn, Action <JoinedSubClassPart <TSubclass> > action) where TSubclass : T { JoinedSubClassPart <TSubclass> joinedSubClassPart = new JoinedSubClassPart <TSubclass>(keyColumn); action(joinedSubClassPart); this.providers.Subclasses[typeof(TSubclass)] = (ISubclassMappingProvider)joinedSubClassPart; }
public virtual void JoinedSubClass <TSubclass>(string keyColumn, Action <JoinedSubClassPart <TSubclass> > action) where TSubclass : T { var subclass = new JoinedSubClassPart <TSubclass>(keyColumn); action(subclass); subclasses[typeof(TSubclass)] = subclass; }
public virtual void JoinedSubClass <TNextSubclass>(string keyColumn, Action <JoinedSubClassPart <TNextSubclass> > action) { var subclass = new JoinedSubClassPart <TNextSubclass>(keyColumn); action(subclass); subclasses[typeof(TNextSubclass)] = subclass; subclassMappings.Add(((ISubclassMappingProvider)subclass).GetSubclassMapping()); }