开发者

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

开发者 https://www.devze.com 2023-03-14 18:43 出处:网络
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

精彩评论

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

关注公众号