private void Process(IConventionEntityTypeBuilder entityTypeBuilder) { var entityType = entityTypeBuilder.Metadata; var model = entityType.Model; foreach (var propertyInfo in entityType.GetRuntimeProperties().Values) { if (!entityTypeBuilder.CanHaveServiceProperty(propertyInfo)) { continue; } var factory = Dependencies.MemberClassifier.FindServicePropertyCandidateBindingFactory(propertyInfo, model); if (factory == null) { continue; } entityTypeBuilder.ServiceProperty(propertyInfo)?.HasParameterBinding( (ServiceParameterBinding)factory.Bind(entityType, propertyInfo.PropertyType, propertyInfo.GetSimpleMemberName())); } }