public Character() { Authors = new CoupledCollection <Author, Character>(this, nameof(Author.Characters)); Storylines = new CoupledCollection <Storyline, Character>(this, nameof(Storyline.Characters)); Tags = new CoupledCollection <Tag, Character>(this, nameof(Tag.Characters)); OwnedPlotElements = new CoupledCollection <PlotElement, Character>(this, nameof(PlotElement.OwningCharacters)); NeededPlotElements = new CoupledCollection <PlotElement, Character>(this, nameof(PlotElement.NeedingCharacters)); Relationships = new ReadOnlyCollection <Relationship>(this.relationships); }
public PlotElement() { Storylines = new CoupledCollection <Storyline, PlotElement>(this, nameof(Storyline.PlotElements)); OwningCharacters = new CoupledCollection <Character, PlotElement>(this, nameof(Character.OwnedPlotElements)); NeedingCharacters = new CoupledCollection <Character, PlotElement>(this, nameof(Character.NeededPlotElements)); }
public Author() { Characters = new CoupledCollection <Character, Author>(this, nameof(Character.Authors)); Storylines = new CoupledCollection <Storyline, Author>(this, nameof(Storyline.Authors)); }
public Storyline() { Characters = new CoupledCollection <Character, Storyline>(this, nameof(Character.Storylines)); Authors = new CoupledCollection <Author, Storyline>(this, nameof(Author.Storylines)); PlotElements = new CoupledCollection <PlotElement, Storyline>(this, nameof(PlotElement.Storylines)); }