You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ecfc5fe
Browse filesBrowse the repository at this point in the historyBrowse files
The OLE DB Templates implementation of the [IRowsetChange](https://msdn.microsoft.com/en-us/library/ms715790.aspx) interface in the OLE DB specification.
16
+
The OLE DB Templates implementation of the [IRowsetChange](https://msdn.microsoft.com/library/ms715790.aspx) interface in the OLE DB specification.
17
17
18
18
## Syntax
19
19
@@ -27,37 +27,40 @@ template <
27
27
class ATL_NO_VTABLE IRowsetChangeImpl : public BaseInterface
28
28
```
29
29
30
-
#### Parameters
31
-
`T`
30
+
### Parameters
31
+
*T*
32
32
A class derived from `IRowsetChangeImpl`.
33
33
34
-
`Storage`
34
+
*Storage*
35
35
The user record.
36
36
37
-
`BaseInterface`
37
+
*BaseInterface*
38
38
The base class for the interface, such as `IRowsetChange`.
39
39
40
-
`RowClass`
40
+
*RowClass*
41
41
The storage unit for the row handle.
42
42
43
-
`MapClass`
43
+
*MapClass*
44
44
The storage unit for all row handles held by the provider.
45
+
46
+
## Requirements
47
+
**Header:** atldb.h
45
48
46
49
## Members
47
50
48
51
### Interface Methods (Used with IRowsetChange)
49
52
50
53
|||
51
54
|-|-|
52
-
|[DeleteRows](../../data/oledb/irowsetchangeimpl-deleterows.md)|Deletes rows from the rowset.|
53
-
|[InsertRow](../../data/oledb/irowsetchangeimpl-insertrow.md)|Inserts a row into the rowset.|
54
-
|[SetData](../../data/oledb/irowsetchangeimpl-setdata.md)|Sets data values in one or more columns.|
55
+
|[DeleteRows](#deleterows)|Deletes rows from the rowset.|
56
+
|[InsertRow](#insertrows)|Inserts a row into the rowset.|
57
+
|[SetData](#setdata)|Sets data values in one or more columns.|
55
58
56
59
### Implementation Method (Callback)
57
60
58
61
|||
59
62
|-|-|
60
-
|[FlushData](../../data/oledb/irowsetchangeimpl-flushdata.md)|Overidden by provider to commit data to its store.|
63
+
|[FlushData](#flushdata)|Overidden by provider to commit data to its store.|
61
64
62
65
## Remarks
63
66
This interface is responsible for immediate write operations to a data store. "Immediate" means that when the end user (the person using the consumer) makes any changes, those changes are immediately transmitted to the data store (and cannot be undone).
@@ -75,9 +78,70 @@ class ATL_NO_VTABLE IRowsetChangeImpl : public BaseInterface
75
78
76
79
- Also see how the `RUpdateRowset` class is used in the UpdatePV sample
Overidden by provider to commit data to its store.
127
+
128
+
### Syntax
129
+
130
+
```cpp
131
+
HRESULTFlushData(HROW hRowToFlush,
132
+
HACCESSOR hAccessorToFlush);
133
+
```
134
+
135
+
#### Parameters
136
+
*hRowToFlush*
137
+
[in] Handle to the rows for the data. The type of this row is determined from the *RowClass* template argument of the `IRowsetImpl` class (`CSimpleRow` by default).
138
+
139
+
*hAccessorToFlush*
140
+
[in] Handle to the accessor, which contains binding information and type information in its `PROVIDER_MAP` (see [IAccessorImpl](../../data/oledb/iaccessorimpl-class.md)).
141
+
142
+
### Return Value
143
+
A standard HRESULT.
80
144
81
145
## See Also
82
146
[OLE DB Provider Templates](../../data/oledb/ole-db-provider-templates-cpp.md)
83
-
[OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)
147
+
[OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)
0 commit comments