コード例 #1
0
        public void TestAutoSync(ComplexType_Parent parent, Phone phone)
        {
            // update a nested simple member
            parent.ContactInfo.HomeAddress.AddressLine2 = "Updated";

            // set a CT ref to the new phone instance
            parent.ContactInfo.PrimaryPhone = phone;
        }
コード例 #2
0
 public void TestAutoSync(Phone phone)
 {
     this.OnTestAutoSyncInvoking(phone);
     base.InvokeAction("TestAutoSync", phone);
     this.OnTestAutoSyncInvoked();
 }
コード例 #3
0
 partial void OnTestAutoSyncInvoking(Phone phone);
コード例 #4
0
 partial void OnPrimaryPhoneChanging(Phone value);
コード例 #5
0
 /// <summary>
 /// Invokes the 'TestAutoSync' method of the specified <see cref="ComplexType_Parent"/> entity.
 /// </summary>
 /// <param name="parent">The <see cref="ComplexType_Parent"/> entity instance.</param>
 /// <param name="phone">The value for the 'phone' parameter for this action.</param>
 public void TestAutoSync(ComplexType_Parent parent, Phone phone)
 {
     parent.TestAutoSync(phone);
 }