public RelationsDescriptor Join <TParent, TChild>() { if (PromisedValue.ContainsKey(typeof(TParent))) { throw new ArgumentException(Message(typeof(TParent))); } return(Assign(typeof(TParent), typeof(TChild))); }
public RelationsDescriptor Join <TParent>(RelationName child, params RelationName[] moreChildren) { if (PromisedValue.ContainsKey(typeof(TParent))) { throw new ArgumentException(Message(typeof(TParent))); } return(Assign(typeof(TParent), new Children(child, moreChildren))); }