I'm missing something blindingly obvious here...
IEntity2 e = entityMappingFactory.Create();
e.PrimaryKeyFields[0].CurrentValue = tagEntity.TagId;
e.PrimaryKeyFields[1].CurrentValue = objectId;
//e.FlagMeAsChanged(); // also tried this
a.SaveEntity(e); // where a is a DataAccessAdapter
I'm having to access the primary keys like this as the logic applies to more than one "mapping" type table. SaveEntity doesn't throw an exception, but doesn't execute any query.
What haev I forgotten?
Thanks for your help!