Customized dynamic extender for the Ejuser table; adds fields that we'd like to pretende exist on the ejuser table
[DynamicExtender("ejuser")] public class DynamicEjuserExtender : DynamicExtender, IArchiveProviderQueryMapping, IArchiveDynamicExtender, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin, IArchiveProviderDynamicExtend
Note that we do not go for the "full monty" generalization that we could have got by
tacking on an AssociateExtenderBase-derived class. That would have given us a whole
pile of associate fields - no doubt useful, but the decision here was to keep it as small as possible.
Thus, a custom JOIN directly in this class and only very few columns.
If someone comes here to implement a request for a bunch of associate fields, there is a point where switching tactics is better than extending this class.
Set up extender and sub extenders
Primary group - ejuser doesn't have it, but it's very convenient to pretend it exists there
protected ArchiveColumnInfo _colPrimaryGroup
protected ArchiveColumnInfo _colPrimaryGroupId
Name of handled table
public const string TableName = "ejuser"
Override: Get fields required for primary user group
protected override void InnerModifyQuery()