/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public static ForeignKey AsForeignKey([NotNull] this IForeignKey foreignKey, [NotNull][CallerMemberName] string methodName = "") => foreignKey.AsConcreteMetadataType <IForeignKey, ForeignKey>(methodName);