dto
Polymorphism with AutoMapper
I have these business classes: class BaseNode { public string name; } class CompositeNode : BaseNode { public List<BaseNode> childs = new List<BaseNode>();[详细]
2023-01-14 11:52 分类:问答Avoiding getters and using DTOs for the retrieval of information when using DDD
Greg Young talks about avoiding getters and setters on domain objects when using Domain Driven Design. For the use case where I want information from a persistent store to be rendered to the screen, w[详细]
2023-01-12 07:31 分类:问答T4 to generate DTO' and Nullable Datatypes
I\'m trying to generate DTO\'s with T4.I found a great blog post that does exactly what i\'m looking for but it explodes on Nullable data types.[详细]
2023-01-11 03:35 分类:问答How much column formatting should be used in a native SQL query?
Ever since I started using an ORM for my day to day data access. I\'ve started to think about how much I should rely formatting functions for my columns. By formatting functions, I me开发者_JAVA百科an[详细]
2023-01-10 23:00 分类:问答How large should be Data Transfer Objects?
As I understand, Data Transfer Objects are used for different purposes, so let\'s bound the scope with the view layer in Java (JSF) -based web-applications (i.e. there are usuallysome entity-objects m[详细]
2023-01-10 14:45 分类:问答Dynamic DTO in .Net?
I have been doing quite a bit of work lately that involves taking stored procedure calls and mapping them to private DTO classes. I was thinking the other day there has to be an easier way. So far thi[详细]
2023-01-10 12:06 分类:问答WCF data object receive progress
I\'m looking for a way to retrieve a collection of DTOs from my WCF data service in a way that will allow me to be informed every time a whole DTO from the collection has finished downloading, also I[详细]
2023-01-09 23:23 分类:问答Passing DTOs around in the domain model
I see DTO types being created within开发者_如何学C and passed between types in the domain model. Is this good practise?[详细]
2023-01-07 14:08 分类:问答Is this 'layering' of my web-service correct? Can it be improved?
I am writing a Web Service to retrieve Invoice information from a database table. The specifics are as follows:[详细]
2023-01-07 10:04 分类:问答Pattern for client-side update in SOA
I want to develop a data-driven WPF application, which uses WCF to connect to the server-side, which itself uses NHibernate to persist data. For exam开发者_StackOverflowle there is a domain-object cal[详细]
2023-01-06 23:30 分类:问答