Exemple #1
0
        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);
        }
Exemple #2
0
 public void OnProvidersExecuting(DomainObjectModelContext context)
 {
     _recorder.ModelProviderInfo.Add($"{nameof(TestDomainObjectModelProvider_2) + nameof(OnProvidersExecuting)}");
 }