Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Clientes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientes(Cliente cliente)
 {
     base.AddObject("Clientes", cliente);
 }
Example #2
0
 /// <summary>
 /// Create a new Cliente object.
 /// </summary>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="nameStyle">Initial value of the NameStyle property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="sobrenome">Initial value of the Sobrenome property.</param>
 /// <param name="passwordHash">Initial value of the PasswordHash property.</param>
 /// <param name="passwordSalt">Initial value of the PasswordSalt property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Cliente CreateCliente(global::System.Int32 customerID, global::System.Boolean nameStyle, global::System.String nome, global::System.String sobrenome, global::System.String passwordHash, global::System.String passwordSalt, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     Cliente cliente = new Cliente();
     cliente.CustomerID = customerID;
     cliente.NameStyle = nameStyle;
     cliente.Nome = nome;
     cliente.Sobrenome = sobrenome;
     cliente.PasswordHash = passwordHash;
     cliente.PasswordSalt = passwordSalt;
     cliente.rowguid = rowguid;
     cliente.ModifiedDate = modifiedDate;
     return cliente;
 }