6 writes to AttachBehavior
System.Data.Services.Client (6)
System\Data\Services\Client\Binding\BindingObserver.cs (4)
129this.AttachBehavior = true; 136this.AttachBehavior = false; 216this.AttachBehavior = true; 225this.AttachBehavior = false;
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (2)
648this.observer.AttachBehavior = true; 659this.observer.AttachBehavior = false;
9 references to AttachBehavior
System.Data.Services.Client (9)
System\Data\Services\Client\Binding\BindingObserver.cs (9)
399bool contextOperationRequired = !this.AttachBehavior && 436if (this.AttachBehavior) 484if (this.AttachBehavior) 524Debug.Assert(!this.AttachBehavior, "AttachBehavior is only allowed during Construction and Load when this method should never be entered."); 616bool contextOperationRequired = !this.AttachBehavior && 657if (this.AttachBehavior) 673if (this.AttachBehavior) 688Debug.Assert(!this.AttachBehavior, "During attach operations we must never perform operations for null values."); 712Debug.Assert(!this.AttachBehavior || this.Context.ApplyingChanges, "Entity updates must not happen during Attach or construction phases, deserialization case is the exception.");