コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AddressTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddressTypes(AddressTypes addressTypes)
 {
     base.AddObject("AddressTypes", addressTypes);
 }
コード例 #2
0
 /// <summary>
 /// Create a new AddressTypes object.
 /// </summary>
 /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static AddressTypes CreateAddressTypes(global::System.Int32 addressTypeID, global::System.String name)
 {
     AddressTypes addressTypes = new AddressTypes();
     addressTypes.AddressTypeID = addressTypeID;
     addressTypes.Name = name;
     return addressTypes;
 }