/// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index is full text.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index is full text. </returns>
 public static ConfigurationSource?GetIsFullTextConfigurationSource([NotNull] this IConventionIndex property)
 => property.FindAnnotation(MySQLAnnotationNames.FullTextIndex)?.GetConfigurationSource();
Example #2
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index is spartial.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index is spartial. </returns>
 public static ConfigurationSource?GetIsSpatialConfigurationSource([NotNull] this IConventionIndex property)
 => property.FindAnnotation(MySqlAnnotationNames.SpatialIndex)?.GetConfigurationSource();
Example #3
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index is full text.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index is full text. </returns>
 public static ConfigurationSource?GetFullTextParserConfigurationSource([NotNull] this IConventionIndex property)
 => property.FindAnnotation(MySqlAnnotationNames.FullTextParser)?.GetConfigurationSource();
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for whether the index is created concurrently.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for whether the index is created concurrently.</returns>
 public static ConfigurationSource?GetIsCreatedConcurrentlyConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.CreatedConcurrently)?.GetConfigurationSource();
Example #5
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for prefix lengths of the index.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for prefix lengths of the index. </returns>
 public static ConfigurationSource?GetPrefixLengthConfigurationSource([NotNull] this IConventionIndex property)
 => property.FindAnnotation(MySqlAnnotationNames.IndexPrefixLength)?.GetConfigurationSource();
Example #6
0
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the index filter expression.
 /// </summary>
 /// <param name="index"> The index. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the index filter expression. </returns>
 public static ConfigurationSource?GetFilterConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(RelationalAnnotationNames.Filter)?.GetConfigurationSource();
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the included property names.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the included property names.</returns>
 public static ConfigurationSource?GetIncludePropertiesConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.IndexInclude)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index uses the fill factor.
 /// </summary>
 /// <param name="index"> The index. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index uses the fill factor. </returns>
 public static ConfigurationSource?GetFillFactorConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(SqlServerAnnotationNames.FillFactor)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index is clustered.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index is clustered. </returns>
 public static ConfigurationSource?GetIsClusteredConfigurationSource([NotNull] this IConventionIndex property)
 => property.FindAnnotation(SqlServerAnnotationNames.Clustered)?.GetConfigurationSource();
Example #10
0
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the name of the index in the database.
 /// </summary>
 /// <param name="index"> The index. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the name of the index in the database. </returns>
 public static ConfigurationSource?GetDatabaseNameConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(RelationalAnnotationNames.Name)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for whether the index is online.
 /// </summary>
 /// <param name="index"> The index. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for whether the index is online. </returns>
 public static ConfigurationSource?GetIsCreatedOnlineConfigurationSource([NotNull] this IConventionIndex index)
 => index.FindAnnotation(SqlServerAnnotationNames.CreatedOnline)?.GetConfigurationSource();
Example #12
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the index method.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the index method.</returns>
 public static ConfigurationSource?GetMethodConfigurationSource(this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.IndexMethod)?.GetConfigurationSource();
Example #13
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the tsvector config.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the tsvector config.</returns>
 public static ConfigurationSource?GetTsVectorConfigConfigurationSource(this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.TsVectorConfig)?.GetConfigurationSource();
Example #14
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the index null sort orders.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the index null sort orders.</returns>
 public static ConfigurationSource?GetNullSortOrderConfigurationSource(this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.IndexNullSortOrder)?.GetConfigurationSource();
Example #15
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the index collations.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the index collations.</returns>
 public static ConfigurationSource?GetCollationConfigurationSource(this IConventionIndex index)
 => index.FindAnnotation(RelationalAnnotationNames.Collation)?.GetConfigurationSource();
Example #16
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the index operators.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the index operators.</returns>
 public static ConfigurationSource?GetOperatorsConfigurationSource(this IConventionIndex index)
 => index.FindAnnotation(NpgsqlAnnotationNames.IndexOperators)?.GetConfigurationSource();