开发者

which collection is there to have a values of datamember of wcf if we don't know service contract?

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???

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜