LevelDBKey teamMemberOfTenant = new LevelDBKey(primaryKey, TEAM_MEMBER_OF_TENANT, aTeamMember.tenantId().id());
aUoW.removeKeyReference(teamMemberOfTenant);
}
private void save(TeamMember aTeamMember, LevelDBUnitOfWork aUoW) {
LevelDBKey primaryKey = new LevelDBKey(PRIMARY, aTeamMember.tenantId().id(), aTeamMember.username());
aUoW.write(primaryKey, aTeamMember);
LevelDBKey teamMembersOfTenant = new LevelDBKey(primaryKey, TEAM_MEMBER_OF_TENANT, aTeamMember.tenantId().id());
aUoW.updateKeyReference(teamMembersOfTenant);
}