Beispiel #1
0
 /// <summary>
 /// Create a new Endereco object.
 /// </summary>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="addressID">Initial value of the AddressID property.</param>
 /// <param name="addressType">Initial value of the AddressType property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Endereco CreateEndereco(global::System.Int32 customerID, global::System.Int32 addressID, global::System.String addressType, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     Endereco endereco = new Endereco();
     endereco.CustomerID = customerID;
     endereco.AddressID = addressID;
     endereco.AddressType = addressType;
     endereco.rowguid = rowguid;
     endereco.ModifiedDate = modifiedDate;
     return endereco;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Enderecos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEnderecos(Endereco endereco)
 {
     base.AddObject("Enderecos", endereco);
 }