// Import the following namespace
using PowerPortalsPro.Web.Common.Services;
[Inject]
private ITableMetadataCache _tableMetadataCache { get; set; } = null!;
protected override async Task OnInitializedAsync()
{
var tableMetadata = await _tableMetadataCache.GetAsync("account");
// Do stuff with the table metadata
}