예제 #1
0
 /// <summary>
 /// Create a new cliente object.
 /// </summary>
 /// <param name="iDCLIENTE">Initial value of the IDCLIENTE property.</param>
 /// <param name="nOME">Initial value of the NOME property.</param>
 /// <param name="eMAIL">Initial value of the EMAIL property.</param>
 /// <param name="lOGIN">Initial value of the LOGIN property.</param>
 /// <param name="sENHA">Initial value of the SENHA property.</param>
 /// <param name="cONFIRMASENHA">Initial value of the CONFIRMASENHA property.</param>
 public static cliente Createcliente(global::System.Int32 iDCLIENTE, global::System.String nOME, global::System.String eMAIL, global::System.String lOGIN, global::System.String sENHA, global::System.String cONFIRMASENHA)
 {
     cliente cliente = new cliente();
     cliente.IDCLIENTE = iDCLIENTE;
     cliente.NOME = nOME;
     cliente.EMAIL = eMAIL;
     cliente.LOGIN = lOGIN;
     cliente.SENHA = sENHA;
     cliente.CONFIRMASENHA = cONFIRMASENHA;
     return cliente;
 }
예제 #2
0
 /// <summary>
 /// Criar um novo objeto cliente do para retornar o cliente criado automaticamente pelo projeto em Modelrdc.Designer.cs.
 /// </summary>
 /// <param name="iDCLIENTE">Initial value of the IDCLIENTE property.</param>
 /// <param name="nOME">Initial value of the NOME property.</param>
 /// <param name="eMAIL">Initial value of the EMAIL property.</param>
 /// <param name="lOGIN">Initial value of the LOGIN property.</param>
 /// <param name="sENHA">Initial value of the SENHA property.</param>
 /// <param name="cONFIRMASENHA">Initial value of the CONFIRMASENHA property.</param>
 public static cliente Createcliente(global::System.Int32 iDCLIENTE, global::System.String nOME,
     global::System.String eMAIL, global::System.String lOGIN, global::System.String sENHA,
     global::System.String cONFIRMASENHA, global::System.String cEP, global::System.String cPF,
     global::System.String rG, global::System.String eNDERECO, Nullable<global::System.Int32> iDCIDADE,
     global::System.String eSTADO, global::System.String iNFORMACOES, Nullable<global::System.DateTime> nASCIMENTO,
     global::System.String tIPOCLIENTE, global::System.String fONEFIXO, global::System.String fONECELULAR,
     Nullable<global::System.Int32> IDFORNECEDOR = null)
 {
     cliente cliente = new cliente();
     cliente.IDCLIENTE = iDCLIENTE;
     cliente.NOME = nOME;
     cliente.EMAIL = eMAIL;
     cliente.LOGIN = lOGIN;
     cliente.SENHA = sENHA;
     cliente.CONFIRMASENHA = cONFIRMASENHA;
     cliente.CEP = cEP;
     cliente.CPF = cPF;
     cliente.RG = rG;
     cliente.ENDERECO = eNDERECO;
     cliente.IDCIDADE = iDCIDADE;
     cliente.ESTADO = eSTADO;
     cliente.INFORMACOES = iNFORMACOES;
     cliente.NASCIMENTO = nASCIMENTO;
     cliente.TIPOCLIENTE = tIPOCLIENTE;
     cliente.FONEFIXO = fONEFIXO;
     cliente.FONECELULAR = fONECELULAR;
     cliente.IDFORNECEDOR = IDFORNECEDOR;
     return cliente;
 }
예제 #3
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);
 }