Hi Jin,
In general, OpenAccess generates the domain methods for the stored procedures in the context file of the domain model. So, if you want to call a domain method you need to reference the context assembly from your project and create an instance of the context in it. Moreover, if the called method returns a non-scalar value but a persistent type or complex type you will have to add a reference in your project to the entities assembly as well.
In fact, if you provide us with a more detailed description of your scenario, we might be able to give you a better advise.
If additional questions come up, do not hesitate to get back to us.
Kind regards,
Doroteya
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!