예제 #1
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="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName 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 firstName, global::System.String lastName, 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.FirstName = firstName;
     cliente.LastName = lastName;
     cliente.PasswordHash = passwordHash;
     cliente.PasswordSalt = passwordSalt;
     cliente.rowguid = rowguid;
     cliente.ModifiedDate = modifiedDate;
     return cliente;
 }
예제 #2
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);
 }