0
How to expose just a few columns of in a Webservice ?
Example:
I need to expose just the Name and Surname table:
public class Cliente
{
public string Nome {get; set;}
public string SobreNome {get; set;}
public string CPF {get; set;}
}
[WebMethod]
public Cliente RetrieveDevice(Cliente Cliente)
{
Cliente cli = new Cliente();
Negocio objNegocio = new Negocio();
cli = objNegocio.getCliente(Cliente);
return cli;
}