internal ChangeProcessor(CommonDataServices services, DataContext context) { this.services = services; this.context = context; this.tracker = services.ChangeTracker; this.changeDirector = services.ChangeDirector; this.currentParentEdges = new EdgeMap(); this.originalChildEdges = new EdgeMap(); this.originalChildReferences = new ReferenceMap(); }
internal ChangeProcessor(CommonDataServices services, DataContext context) { this._services = services; this._context = context; this._tracker = services.ChangeTracker; this._changeDirector = services.ChangeDirector; this._currentParentEdges = new EdgeMap(); this._originalChildEdges = new EdgeMap(); this._originalChildReferences = new ReferenceMap(); }
internal CommonDataServices(DataContext context, MetaModel model) { this.context = context; this.metaModel = model; bool asReadOnly = !context.ObjectTrackingEnabled; this.identifier = IdentityManager.CreateIdentityManager(asReadOnly); this.tracker = ChangeTracker.CreateChangeTracker(this, asReadOnly); this.director = ChangeDirector.CreateChangeDirector(context); this.factoryMap = new Dictionary <MetaDataMember, IDeferredSourceFactory>(); }