protected virtual BSONElement GetFieldAsBSON(Row row, Schema.FieldDef field, string targetName) { var name = field.GetBackendNameForTarget(targetName); var fvalue = row.GetFieldValue(field); var el = ConvertCLRtoBSON(name, fvalue, targetName); return el; }