Я создал Службу данных WCF с базовым классом моей модели EF.
Я хотел вернуть пользовательский тип (которого нет в моей модели EF), но я получаю ошибку:
The server encountered an error processing the request. Please see the service help
page for constructing valid requests to the service.
Мой пользовательский класс выглядит так:
public class MyCustomClass
{
public string CustomProp { get; set; }
public List<int> Ids { get; set; }
}
Как мне сделать эту работу?