public void OnProvidersExecuted(DomainObjectModelContext context) { var domainModel = context.Result; var entityADesc = domainModel.Entities.FirstOrDefault(s => s.Type.Equals(typeof(EntityA))) ?? throw new ArgumentNullException("not find entityA"); _recorder.ModelProviderInfo.Add($"{nameof(TestDomainObjectModelProvider_2) + nameof(OnProvidersExecuted)}"); _recorder.Additionals.Add(entityADesc); }
public void OnProvidersExecuting(DomainObjectModelContext context) { _recorder.ModelProviderInfo.Add($"{nameof(TestDomainObjectModelProvider_2) + nameof(OnProvidersExecuting)}"); }