MetadataTableDefinitions
- Namespace:
PPDS.Dataverse.Metadata - Assembly:
PPDS.Dataverse - Kind: Class
Summary
Defines the schema of metadata virtual tables. Each table maps to a Dataverse metadata API endpoint and exposes a fixed set of columns that can be queried via SQL.
Members
Methods
GetColumns
IReadOnlyList<string> GetColumns(string tableName)
Gets the available columns for a metadata virtual table. Returns null if the table name is not recognized.
GetTableName
string GetTableName(string schemaQualifiedName)
Extracts the table name from a potentially schema-qualified name. "metadata.entity" returns "entity"; "entity" returns "entity".
IsMetadataTable
bool IsMetadataTable(string name)
Returns true if the name matches a metadata virtual table. The table name must be fully qualified (metadata.entity).
Fields
Tables
IReadOnlyDictionary<string, IReadOnlyList<string>> Tables
Known metadata virtual table names and their available columns.