Bagikan melalui


IRowsetNotifyImpl Class

Implements and registers IRowsetNotify on the consumer (also known as the "sink") so that it can handle notifications.

class ATL_NO_VTABLE IRowsetNotifyImpl : public IRowsetNotify

Members

Methods

OnFieldChange

Notifies the consumer of any change to the value of a column.

OnRowChange

Notifies the consumer of the first change to a row or of any change that affects the entire row.

OnRowsetChange

Notifies the consumer of any change affecting the entire rowset.

Remarks

See Receiving Notifications about implementing the connection point interface on the consumer.

IRowsetNotifyImpl provides a dummy implementation for IRowsetNotify, with empty functions for the IRowsetNotify methods OnFieldChange, OnRowChange, and OnRowsetChange. If you inherit from this class when you implement an IRowsetNotify interface, you can implement only the methods you need. You also need to provide empty implementations for the other methods yourself.

Requirements

Header: atldbcli.h

See Also

Reference

IRowsetNotify

IRowsetNotifyCP Class

Concepts

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates (C++)