Midnight Coders Support: 14:30:07
dataMapper.Connection.DomainObjectAffected += new DomainObjectAffectedHandler(OnDomainObjectAffected);
Midnight Coders Support: 14:30:22
void OnDomainObjectAffected(DomainObject domainObject, IDataMapper dataMapper, DataMapperOperation operation)
{
}
Midnight Coders Support: 14:30:40
DomainObject is your active record
Midnight Coders Support: 14:30:52
dataMapper is obviously the data mapper where the change occured
Midnight Coders Support: 14:30:56
and DataMapperOperation is an enum
Midnight Coders Support: 14:31:05
public enum DataMapperOperation
{
update,
delete,
create
}