/// <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 override IEnumerable <IAnnotation> For(IIndex index) { var isFullText = index.Firebird().IsFullText; if (isFullText.HasValue && isFullText.Value) { yield return(new Annotation( FbAnnotationNames.FullTextIndex, "FULLTEXT")); } var isSpatial = index.Firebird().IsSpatial; if (isSpatial.HasValue && isSpatial.Value) { yield return(new Annotation( FbAnnotationNames.SpatialIndex, "SPATIAL")); } foreach (var annotation in ForRemove(index)) { yield return(annotation); } }