public void ProcessEntityTypeAdded(IConventionEntityTypeBuilder entityTypeBuilder, IConventionContext <IConventionEntityTypeBuilder> context)
        {
            string?comment = entityTypeBuilder?.Metadata?.ClrType?.GetXmlDocsSummary();

            if (!string.IsNullOrEmpty(comment))
            {
                entityTypeBuilder?.HasComment(comment);
            }
        }
 /// <summary>
 ///     Called after an entity type is added to the model if it has an attribute.
 /// </summary>
 /// <param name="entityTypeBuilder">The builder for the entity type.</param>
 /// <param name="attribute">The attribute.</param>
 /// <param name="context">Additional information associated with convention execution.</param>
 protected override void ProcessEntityTypeAdded(
     IConventionEntityTypeBuilder entityTypeBuilder,
     CommentAttribute attribute,
     IConventionContext <IConventionEntityTypeBuilder> context)
 {
     if (!string.IsNullOrWhiteSpace(attribute.Comment))
     {
         entityTypeBuilder.HasComment(attribute.Comment);
     }
 }