Ejemplo n.º 1
0
 /// <summary>
 /// Create a new AddressData object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="person_Id">Initial value of the Person_Id property.</param>
 /// <param name="addressType">Initial value of the AddressType property.</param>
 public static AddressData CreateAddressData(global::System.Int32 id, global::System.Int32 person_Id, global::System.String addressType)
 {
     AddressData addressData = new AddressData();
     addressData.Id = id;
     addressData.Person_Id = person_Id;
     addressData.AddressType = addressType;
     return addressData;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Addresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddresses(AddressData addressData)
 {
     base.AddObject("Addresses", addressData);
 }