dto
Should DTOs in a composite DTO reference each other by primary key or by object reference?
There is a recommendation that transfer objects should not contain object references to other transfer objects. Instead, they should use the primary keys of the other transfer objects as foreign key f[详细]
2023-02-12 14:44 分类:问答Should the repository layer return data-transfer-objects (DTO)?
I have a repository layer that i开发者_JAVA技巧s responsible for my data-access, which is called by a service layer. The service layer returns DTOs which are serialized and sent over the wire. More of[详细]
2023-02-12 04:35 分类:问答Call a DTO translator inside IQueryable's Select
I have the following code to query an EntityContext (through a repository) and map it unto a DTO: public class QueryQuestionsConsumer : IConsumerOf<QueryQuestionsRequest>[详细]
2023-02-12 00:18 分类:问答Documenting incomplete object graph of DTO object [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-02-09 00:24 分类:问答Silverlight Model mapping and Repository pattern question
First of all sorry my bad English! I see in many Silverlight tutorials the following: We have models on the server side for example Product. The webservice has a method for example Ilist GetProducts([详细]
2023-02-08 23:10 分类:问答What's an appropriate way of appending metadata to objects before returning via a RESTful WS?
I have a RESTful web service that responds to /user/{userId} with a marshalled XML representation of a User domain object (using JAXB). What\'s an appropriate way of communicating back to the client a[详细]
2023-02-07 13:33 分类:问答Object Mapper using repositories
I\'m wanting to开发者_Go百科 know if it\'s a bad design to use repositories when converting DTOs to their domain object counterpart.[详细]
2023-02-07 00:52 分类:问答Reflection from DTO
I have 1 dto, statEMailDTO, which has a field that holds the Field Names of what I\'m looking for (they are comma delimited.[详细]
2023-02-06 23:50 分类:问答Should a WCF service return an EntityObject or a POCO/DTO class?
I\'ve been looking at a lot of WCF examples using EntityFramework and most of them seem to return some kind of POCO or DTO class to the cl开发者_开发知识库ient.[详细]
2023-02-06 23:43 分类:问答Advice on my ASP.NET MVC, EF layer, and Automapper setup for a project
I\'m trying to figure out the best approach to architecting this project. Basically, it\'s a \"band\" profile site. I\'m using ASP.NET 4, EF, and Automapper (structuremap too, but that\'s not importan[详细]
2023-02-04 20:05 分类:问答