using GB5Shared.DTO.Framework.Login; using IceImportDAL.DTO.EntityFieldLookup; namespace IceImportDAL.CustomCode.EntityFieldLookup; // Resolves the physical table/column names backing a MENTITY EntityId's Code or Name member, so // EntityLookupService can run a direct Code/Name -> Id lookup instead of the entity's own // GetSelectList endpoint. Returns null if the entity has no DBOBJECT/DBOBJECTFIELDS metadata wired // up (caller should fall back to the HTTP-based resolution in that case). public interface IEntityFieldMetadataDAL { Task ResolveAsync( int entityId, bool isNameLookup, LoginDTO login, CancellationToken ct); }