/// <summary> /// Return list of tables and/or view that exists in the database /// </summary> /// <param name="schemaName">The name of the schema</param> /// <param name="includeViews">Boolean to specify if views has to be returned as well</param> /// <returns></returns> public async Task <IEnumerable <ITableDefinition> > GetTablesAsync(string schemaName = null, bool includeViews = false) { return(await DialectProvider.GetTableDefinitions(DbConnection, schemaName, includeViews)); }