I am getting all the Operation DTO’s from Servicestack like this
var operationDtos = HostContext.Metadata.GetOperationDtos();
var schemaName = meta.Schema //I assume this is the schema, but it is blank
var aliasName = meta.Alias
How do I get the underlying table name for the specific dialect provider.
So I am looking to extract the underlying database table name, schema name and alias from the operationDtos based on underlying dialect provider.
E.g. in postgres I might get table account_type, schema public etc…While in sql server I will get table AccountType schema dbo
I am looking for the table name as well. E.g. CreateAccountType (created by AutoQuey), should give me the table name AccountType for SQL Server and account_type for Postgres.