public IList <SchemaColumnInfo> GetTextCommandColumnInfoList(string textCommand)
        {
            var list = _interrogator.GetTextCommandColumnInfoList(textCommand);

            _schemaColumnDictionary[textCommand] = list;
            return(list);
        }
Example #2
0
        protected List <SchemaColumnInfo> GetTextCommandColumns(string textCommand)
        {
            SqlServerInterrogator inter = new SqlServerInterrogator(_options.SqlConnectionString);

            return(inter.GetTextCommandColumnInfoList(textCommand).ToList());
        }