If you inject ShellSettings
, then you can access DataTablePrefix
on it. That answers the first part. For the second part, hopefully you know the module name, so it should be easy to translate it into the table name by replacing the dots with underscores. ShellBuilder.CompositionStrategy
does it this way:
var extensionDescriptor = feature.Descriptor.Extension;
var extensionName = extensionDescriptor.Id.Replace('.', '_');