public myFrame Get_FromLocalDatabase(HistoricalDataRequest myRequest) { // 1. Identify request type string requestType = MapRequestType(myRequest); // 2. Map database string database = MapDatabase(myRequest.id); // 3. Map table string table = MapTable(myRequest.id); // 4. Get the correct container type Type ContainerType = MapContainer(database, table); // 5. Send request to connector helper return(myConnectorHelper.GetData(myRequest, database, table, ContainerType)); }