I\'m using NHibernate to persist my domain objects. To keep things simple I\'m using an ASP.NET M开发者_如何学运维VC project as both my presentation layer, and my service layer.
We have an entity (class) containing data and methods (lets call it Person).There are other classes that need to use the data in this object (let\'s call one of them Accountant), but do not need to us
When I do this in dragstart event: e.dataTransfer.setData(\'text/plain\', \'text\'); e.dataTransfer.setData(\'text/html\', \'html\');
When a controller detects that a DTO passed t开发者_如何转开发o it is null should it instantiate an instance of the DTO (cf the Null Object Pattern), or should it simply throw an exception there and t
I am trying to get my head around business entities that you want to list in a grid or list where a user will pick one to edit/view.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
I would like to use the DataAnnotations on my transfer objects. However how do I开发者_如何学编程 call them in the business layer to verify the input?
There was a very interesting discussion on LosTechies regarding AutoMapper(an argument for/against 2-way mapping).
I\'m curious to know what the community feels on this subject. I\'ve recently come into the question with a NHibernate/WCF scenario(entities persisted at the service layer) and realized I may be going
I feel this is a stupid question even before asking, but my brain isn\'t working too well right now. I have two WCF services \"CountryService\" and \"FloristService\".