which collection is there to have a values of datamember of wcf if we don't know service contract?? suppose my service contract is like
[ServiceContract] [OperationContract] Employee Getinfo(int id); in the class where i implement it
Employee emp = new Employee(); emp.name ="abc"; emp.address = "pune"; return emp;
At Client side i have created object of Employee again like ServiceReference1.Employee empobj = new ServiceReference1.Employee(); empobj = servicereferenceobject.Getinfo(3);
so empobj is giving me all data of employee. BUT NOW I WANT S开发者_开发问答UCH COLLECTION THAT WORKS LIKE AN empobj IS THERE ANY???
精彩评论