Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        private List <RecordSetDefinition> GenerateRecordSetDefinition(Type[] types)
        {
            var rsDefinitionManager = new RecordSetDefinitionManager();

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