This question is locked. New answers and comments are not allowed.
I am playing around with the ORM and I'm trying to add a custom method to the service, but whatever I do, the client just cannot see it.
I am using the WfcRiaDemo video from here: http://tv.telerik.com/watch/openaccess-orm/exposing-openaccess-orm-models-using-wcf-ria-services
I tried to add a custom method to the Customer table, by following these instructions ( http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/model-definition-basics/data-access-tasks-working-with-objects-implement-business-logic-entites ), but no matter what I do I cannot get it to show up in the client.
My partial Customer class looks like this:
namespace WcfRiaDemo.Web
{
public partial class Customer
{
public string CustName()
{
return "name";
}
public int Number10
{
get { return 10; }
}
}
}
Curiously, the Number10 property shows up just fine in the silverlight app.
Does anyone have any idea why this might be..?
I am using the WfcRiaDemo video from here: http://tv.telerik.com/watch/openaccess-orm/exposing-openaccess-orm-models-using-wcf-ria-services
I tried to add a custom method to the Customer table, by following these instructions ( http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/model-definition-basics/data-access-tasks-working-with-objects-implement-business-logic-entites ), but no matter what I do I cannot get it to show up in the client.
My partial Customer class looks like this:
namespace WcfRiaDemo.Web
{
public partial class Customer
{
public string CustName()
{
return "name";
}
public int Number10
{
get { return 10; }
}
}
}
Curiously, the Number10 property shows up just fine in the silverlight app.
Does anyone have any idea why this might be..?