Hi folks,
Please help me with some guide on these matters.Any help would be appreciated!
I am currently having a WCF with generic List<Employee>
[OperationContract]
[FaultContract(typeof(CustomeSqlException))]
[FaultContract(typeof(Exception))]
List<Employee> login(string username,string password);
This testing funtion basically will return the data from the database of entity in the form of List<Employee>.
The Employee class hold the data returned from the data which contains more than one type of object.
public class Employee
{
public int empid { get; set; }
public string empusername { get; set; }
public string emppassword { get; set; }
}
My question is how am I going to consume the returned List<Employee> from the WCF.
I am consuming the WCF using AddServiceReference...
Based on my understanding,this ...
Go to the complete details ...