I have read questions and answers about this topic but I still have some question without answer.
If I create a method to convert Entity to DTO i'll run into some circular calling methods (probably caused by errors in Model), for example:
Product class has a property Supplier that point to a Supplier class that contains a List property with all the products supplied.. So if i create a GetProductDTO(Product entity) method that return a ProductDTO class i'll have to call GetSupplierDTO(Supplier entity) for each product, but this last method must call GetProductDTO for every product in the list of products supplied...
In summary, i'm searching for a pattern or best practice to create a EntityModel -> WCF Service -> Prism WPF application.
Thanks