Пример #1
0
        public void ModifyingProperty_Loaded()
        {
            _transporter.Load(DomainObjectIDs.Computer1);

            var source = (Computer)_transporter.GetTransportedObject(DomainObjectIDs.Computer1);

            _listener.PropertyValueChanging(TestableClientTransaction, source, GetPropertyDefinition(typeof(Computer), "SerialNumber"), null, null);
        }
Пример #2
0
        public void Serialization_AndMethodCalled()
        {
            TransportTransactionListener listener = Serializer.SerializeAndDeserialize(_listener);

            listener.PropertyValueChanging(TestableClientTransaction, null, null, null, null);
        }