public Dictionary <string, object> RetrieveMultiRecordSet(string procedureName, List <SqlParameter> parameters, Type[] types, List <string> names)
        {
            var rsDefinitionManager  = new RecordSetDefinitionManager();
            var recordSetDefinitions = rsDefinitionManager.GenerateRecordSetDefinition(types, names);

            return(RetrieveMultiRecordSet(procedureName, parameters, recordSetDefinitions));
        }
        private List <RecordSetDefinition> GenerateRecordSetDefinition(Type[] types)
        {
            var rsDefinitionManager = new RecordSetDefinitionManager();

            return(rsDefinitionManager.GenerateRecordSetDefinition(types, null));
        }