Possible Duplicate:
Adding methods to DataContract objects for WCF
is possible to expose method in data contract class?
ex:
[Datacontract]
Public Class Customer
{
[Datamember]
Public string ID
{
get;set;
}
Public void AddSession(string key, int len)
{
}
}
how to expose "AddSession" method at client when client consume this service?