using GB5Shared.DTO.Framework.Login; using IceImportDAL.DTO.EntityFieldLookup; namespace IceImportDAL.CustomCode.EntityFieldLookup; // Runs the actual Code/Name -> Id lookup against the physical table/columns resolved by // IEntityFieldMetadataDAL. Table/column names come only from DBOBJECT/DBOBJECTFIELDS/MENTITY // metadata (never from uploaded file content), same trust boundary as GcmCodeLookupDAL's // _allowedTables whitelist — validated against an identifier pattern before being interpolated // into SQL. public interface IGenericEntityCodeLookupDAL { Task> ResolveValuesToIdsAsync( EntityFieldMetadataDTO metadata, IEnumerable values, LoginDTO login, CancellationToken ct); }