コード例 #1
0
		private void detach_PhoneNumbers(PhoneNumber entity)
		{
			this.SendPropertyChanging();
			entity.Contact = null;
		}
コード例 #2
0
 partial void DeletePhoneNumber(PhoneNumber instance);
コード例 #3
0
 partial void UpdatePhoneNumber(PhoneNumber instance);
コード例 #4
0
 partial void InsertPhoneNumber(PhoneNumber instance);
コード例 #5
0
 /// <summary>
 /// Create a new PhoneNumber object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="created_at">Initial value of the created_at property.</param>
 /// <param name="updated_at">Initial value of the updated_at property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="contact_id">Initial value of the Contact_id property.</param>
 public static PhoneNumber CreatePhoneNumber(global::System.Int32 id, global::System.DateTime created_at, global::System.DateTime updated_at, global::System.String value, global::System.String type, global::System.Int32 contact_id)
 {
     PhoneNumber phoneNumber = new PhoneNumber();
     phoneNumber.Id = id;
     phoneNumber.created_at = created_at;
     phoneNumber.updated_at = updated_at;
     phoneNumber.Value = value;
     phoneNumber.Type = type;
     phoneNumber.Contact_id = contact_id;
     return phoneNumber;
 }
コード例 #6
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PhoneNumbers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhoneNumbers(PhoneNumber phoneNumber)
 {
     base.AddObject("PhoneNumbers", phoneNumber);
 }