[opf] moving writecollection implementation from sqlmanualmapping to sqlmapping class.