protected override void OnCreate() { ResourceLocator <IEntityQueryProvider> .SetResourceProvider(this); }