forked from exSnake/VBTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRepository.cls
41 lines (30 loc) · 909 Bytes
/
IRepository.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "IRepository"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Public Sub SetConnection(ByRef value As ADODB.Connection)
End Sub
Public Function GetById(ByVal id As Long) As SqlResultRow
End Function
Public Function GetAll() As SqlResult
End Function
Public Function FindId(ByVal naturalKey As SqlResultRow) As Long
End Function
Public Function Search(ByVal terms As SqlResultRow) As SqlResult
End Function
Public Function Count() As Long
End Function
Public Sub Add(ByVal value As SqlResultRow)
End Sub
Public Sub Remove(ByVal id As Long)
End Sub
Public Sub Update(ByVal id As Long, ByVal value As SqlResultRow)
End Sub
Public Function NewItem(ByVal Model As SqlResult, ByVal values As Dictionary) As SqlResultRow
End Function