public AddChild ( |
||
design | ||
Результат | void |
public DocumentDesign(Configuration configuration, DocumentDesign parent, Type documentType, string discriminator) : this(configuration, parent.Table, documentType, discriminator) { Parent = parent; Projections = parent.Projections.ToDictionary(); Projections[Table.DiscriminatorColumn] = Projection.From <string>(managedEntity => Discriminator); Parent.AddChild(this); }
public DocumentDesign(Configuration configuration, DocumentDesign parent, Type documentType, string discriminator) : this(configuration, parent.Table, documentType, discriminator) { Base = parent.Base; Parent = parent; Projections = parent.Projections.ToDictionary(); Projections[Table.DiscriminatorColumn] = Projection.From<string>(_ => Discriminator); Parent.AddChild(this); }