1: #Region "Public Methods"
2:
3: Public Function GetWebformsMVPs(ByVal ModuleId As Integer) _
4: As IDataReader Implements IDataProvider.GetWebformsMVPs
5: Return CType(SqlHelper.ExecuteReader(ConnectionString, _
6: GetFullyQualifiedName("GetWebformsMVPs"), ModuleId), IDataReader)
7: End Function
8:
9: Public Function GetWebformsMVP(ByVal ModuleId As Integer, ByVal ItemId As Integer) _
10: As IDataReader Implements IDataProvider.GetWebformsMVP
11: Return CType(SqlHelper.ExecuteReader(ConnectionString, _
12: GetFullyQualifiedName("GetWebformsMVP"), ModuleId, ItemId), IDataReader)
13: End Function
14:
15: Public Sub AddWebformsMVP(ByVal ModuleId As Integer, ByVal Content As String, ByVal UserId As Integer) _
16: Implements IDataProvider.AddWebformsMVP
17: SqlHelper.ExecuteNonQuery(ConnectionString, _
18: GetFullyQualifiedName("AddWebformsMVP"), ModuleId, Content, UserId)
19: End Sub
20:
21: Public Sub UpdateWebformsMVP(ByVal ModuleId As Integer, _
22: ByVal ItemId As Integer, ByVal Content As String, ByVal UserId As Integer) _
23: Implements IDataProvider.UpdateWebformsMVP
24: SqlHelper.ExecuteNonQuery(ConnectionString, _
25: GetFullyQualifiedName("UpdateWebformsMVP"), ModuleId, ItemId, Content, UserId)
26: End Sub
27:
28: Public Sub DeleteWebformsMVP(ByVal ModuleId As Integer, ByVal ItemId As Integer) _
29: Implements IDataProvider.DeleteWebformsMVP
30: SqlHelper.ExecuteNonQuery(ConnectionString, _
31: GetFullyQualifiedName("DeleteWebformsMVP"), ModuleId, ItemId)
32: End Sub
33:
34: #End Region