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?
精彩评论