Hi guys,

u know those: insert, Update, delete methods in the BLL layer. WE always have to add them manually, but many times, they reflect pretty much the insert, update, select methods from trhe typed Dataset that we design in the dataset deaigner

So my question pls:

Instead of typing for example:


<System.ComponentModel.DataObjectMethodAttribute _
(System.ComponentModel.DataObjectMethodType.Update, False)> _
Public Function Update_CarnetAddress(ByVal id As Integer, ByVal Entreprise As String, ByVal Contact As String, ByVal Telephone As String, ByVal Email As String, ByVal Fax As String, ByVal Note As String, ByVal ModifierPar As String) As Boolean

_.........
Dim rowsAffected = Adapter.Update(...all params go here)
Return rowsAffected = 1

End Function


Is there a way to generate that code or at least part of it?
__________________