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

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

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