/// <summary> /// Return the columns definition of a given table or view /// </summary> /// <param name="tableName"></param> /// <param name="schemaName"></param> /// <returns></returns> public async Task <IEnumerable <IColumnDefinition> > GetTableColumnsAsync(string tableName, string schemaName = null) { return(await Task.Run(() => DialectProvider.GetTableColumnDefinitions(DbConnection, tableName, schemaName))); }