开发者

Can we call class Library from a wcf service

开发者 https://www.devze.com 2023-04-01 10:53 出处:网络
Can we call class Library from a wcf service...sorry if the question is wrong.. the method in the class

Can we call class Library from a wcf service...sorry if the question is wrong.. the method in the class

public class DocItem       
public DataSet GetRecord(int ID, DateTime startDate, DateTime endDate, str开发者_开发技巧ing Type, string pocType)


If the class library supports running in an unattended manner, then yes. If the functionality you require from it would cause UI to pop up, then you may have to try another approach.


Yes. Simply Add a Reference to the Library in your Project. Then add in the using namespace and you'll be able to instantiate the objects from the DLL.


A class library is going to be nothing more than a DLL in your service... why wouldn't you be able to?

0

精彩评论

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

关注公众号