Is it good for DAL to return a DTO type from a domain model or just return a DataTable? Isn't it easier if your DAL functions return DataTables / DataSets and does the BLL have a data map for business objects?
I think it really comes down to personal preference, but I like to avoid DataTables whenever possible.
They can be convenient at times, but the fact that they are not very typed usually makes debugging, testing, and just understanding the code much more difficult.
, .NET, DataSet DataTables. , , , . Fowler Enterprise Application Architecture, Table Module Table Data Gateway.
- , (ORM mapper, Remoting Service layers ..). , Driven Driven Eric Evans
Source: https://habr.com/ru/post/1740997/More articles:Rails: нарушение ограничений для создания, но не обновления - oracleClickonce + .NET 4 framework + client profile offline - c #Using XSD to check node count - countWhy is "A & a = a" valid? - c ++ClickOnce + .NET + SQL Server Compact click template + standalone installation - c #What happened if the exception is not fixed? - c ++C ++ provides conditions for inherited classes - c ++Java-Hibernate-Newbie: How do I get values from this list? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1741002/r-how-to-write-out-a-dataframe-so-that-i-can-paste-it-into-so-for-others-to-read&usg=ALkJrhhgUS5qL-ITox0feFfXTDoQZCL1WwПроблема с яйцом python cx_Freeze - pythonAll Articles