public AsyncEnumerator(IEntityEnumeratorVisitor visitor, IEntityGraph graph, IEntityEnumeratorBuffer buffer, IEntityEnumeratorSink sink, IDatabaseReader reader, bool ownsReader) { this.Visitor = visitor; this.Graph = graph; this.Buffer = buffer; this.Sink = sink; this.Reader = reader; this.ReaderEnumerator = reader.GetAsyncEnumerator(); this.OwnsReader = ownsReader; }
public void Visit(IEntityGraph graph, IEntityEnumeratorBuffer buffer, IEntityEnumeratorSink sink, IDatabaseReaderRecord record, EnumeratorFlags flags) { buffer.Update(record); this.Visit(buffer, sink, graph.Root); }
public EntityAction Visit <T>(IEntityGraph graph, T persisted, T updated) { return(this.OnVisit(graph.Root, new Frame <T>(persisted, updated))); }
public EntityAction Visit(IEntityGraph graph, object persisted, object updated) { return((EntityAction)this.Members.Invoke(this, "Visit", (persisted ?? updated).GetType(), graph, persisted, updated)); }