Improve data access layer select method Pattern

后端 未结 7 923
眼角桃花
眼角桃花 2020-12-05 05:46

Lately I find myself writing data access layer select methods where the code all takes this general form:

public static DataTable GetSomeData( ... arguments)         


        
7条回答
  •  我在风中等你
    2020-12-05 06:29

    The only thing I do differently is I switched from my own internal database helper methods to the actual Data Access Application Block http://msdn.microsoft.com/en-us/library/cc309504.aspx

    Makes it a little more standardized/uniform for other developers who know the enterprise library to ramp up on the code.

提交回复
热议问题