public void SetItem(DriverDataSet item) { using (var scope = new StopTrackingScope(trackingManager)) { this.SetDriver <DriverDataSet, CarDataSet, AddressDataSet>(item); Id = item.Id; } }
protected override void OnAfterSetProperty <TObject, TValue>(TObject item, TValue field, TValue value, string callerName) { trackingManager.AddAction(() => { using (var scope = new StopTrackingScope(trackingManager)) return(DataSetTrackingManagerProvider.Instance.DataSet.GetTrackingDatSetUpdate()); }); }
public void SetItem(CarDataSet item) { using (var scope = new StopTrackingScope(trackingManager)) { this.SetCar(item); Id = item.Id; } }
public void SetItem(AddressDataSet item) { using (var scope = new StopTrackingScope(trackingManager)) { this.SetAddress(item); this.Id = item.Id; } }
public void SetItem(WorldDataSet item) { using (var scope = new StopTrackingScope(trackingManager)) { Drivers.Set(item.Drivers); Cars.Set(item.Cars); Addresses.Set(item.Addresses); } }
public DriverDataSet DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) { var copy = this.DeepCopyDriver <DriverDataSet, CarDataSet, AddressDataSet>(); copy.Id = Id; return(copy); } }
public CarDataSet DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) { var copy = this.DeepCopyCar(); copy.Id = Id; return(copy); } }
public AddressDataSet DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) { var copy = this.DeepCopyAddress(); copy.Id = this.Id; return(copy); } }
public WorldDataSet DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) { var copy = new WorldDataSet(trackingManager) { Drivers = Drivers.DeepCopy(), Cars = Cars.DeepCopy(), Addresses = Addresses.DeepCopy() }; return(copy); } }
public void SetItem(AddressItem item) { using (var scope = new StopTrackingScope(trackingManager)) this.SetAddress(item); }
public AddressItem DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) return(this.DeepCopyAddress()); }
public void SetItem(DriverItem item) { using (var scope = new StopTrackingScope(trackingManager)) this.SetDriver <DriverItem, CarItem, AddressItem>(item); }
public DriverItem DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) return(this.DeepCopyDriver <DriverItem, CarItem, AddressItem>()); }
public void SetItem(CarItem item) { using (var scope = new StopTrackingScope(trackingManager)) this.SetCar(item); }
public CarItem DeepCopy() { using (var scope = new StopTrackingScope(trackingManager)) return(this.DeepCopyCar()); }