public static ConfigurationSource?GetTablespaceConfigurationSource(this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.Tablespace)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default column collation. /// </summary> /// <param name="model">The model.</param> /// <returns>The <see cref="ConfigurationSource" /> for the default column collation.</returns> public static ConfigurationSource?GetDefaultColumnCollationConfigurationSource(this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.DefaultColumnCollation)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default character set of the model/database. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default character set. </returns> public static ConfigurationSource?GetCharSetConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(MySqlAnnotationNames.CharSet)?.GetConfigurationSource();
public static ConfigurationSource?GetDatabaseTemplateConfigurationSource(this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.DatabaseTemplate)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the service tier of the database. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the service tier of the database. </returns> public static ConfigurationSource?GetServiceTierSqlConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.ServiceTierSql)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default schema. /// </summary> /// <param name="model">The model.</param> /// <returns>The <see cref="ConfigurationSource" /> for the default schema.</returns> public static ConfigurationSource?GetIdentitySeedConfigurationSource(this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.IdentitySeed)?.GetConfigurationSource();
/// <summary> /// Gets the <see cref="ConfigurationSource" /> for the provisioned throughput at database scope. /// </summary> /// <param name="model">The model.</param> /// <returns>The <see cref="ConfigurationSource" /> for the throughput.</returns> public static ConfigurationSource?GetThroughputConfigurationSource(this IConventionModel model) => model.FindAnnotation(CosmosAnnotationNames.Throughput) ?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default <see cref="SqlServerValueGenerationStrategy" />. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default <see cref="SqlServerValueGenerationStrategy" />. </returns> public static ConfigurationSource?GetValueGenerationStrategyConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.ValueGenerationStrategy)?.GetConfigurationSource();
public static ConfigurationSource?GetMaxIdentifierLengthConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(RelationalAnnotationNames.MaxIdentifierLength)?.GetConfigurationSource();
public static ConfigurationSource?GetCollationConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(RelationalAnnotationNames.Collation)?.GetConfigurationSource();
public static ConfigurationSource?GetDefaultSchemaConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(RelationalAnnotationNames.DefaultSchema)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default schema. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default schema. </returns> public static ConfigurationSource?GetIdentitySeedConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(JetAnnotationNames.IdentitySeed)?.GetConfigurationSource();
/// <summary> /// Returns the configuration source for <see cref="ModelExtensions.GetChangeTrackingStrategy" />. /// </summary> /// <param name="model"> The model to find configuration source for. </param> /// <returns> The configuration source for <see cref="ModelExtensions.GetChangeTrackingStrategy" />. </returns> public static ConfigurationSource?GetChangeTrackingStrategyConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(CoreAnnotationNames.ChangeTrackingStrategy)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default hi-lo sequence schema. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default hi-lo sequence schema. </returns> public static ConfigurationSource?GetHiLoSequenceSchemaConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.HiLoSequenceSchema)?.GetConfigurationSource();
/// <summary> /// Returns the configuration source for the default container name. /// </summary> /// <param name="model">The model.</param> /// <returns>The configuration source for the default container name.</returns> public static ConfigurationSource?GetDefaultContainerConfigurationSource(this IConventionModel model) => model.FindAnnotation(CosmosAnnotationNames.ContainerName)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default identity increment. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default identity increment. </returns> public static ConfigurationSource?GetIdentityIncrementConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.IdentityIncrement)?.GetConfigurationSource();
public static ConfigurationSource?GetPropertyAccessModeConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(CoreAnnotationNames.PropertyAccessMode)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the maximum size of the database. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the maximum size of the database. </returns> public static ConfigurationSource?GetDatabaseMaxSizeConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.MaxDatabaseSize)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default hi-lo sequence schema. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default hi-lo sequence schema. </returns> public static ConfigurationSource?GetHiLoSequenceSchemaConfigurationSource(this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.HiLoSequenceSchema)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the performance level of the database. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the performance level of the database. </returns> public static ConfigurationSource?GetPerformanceLevelSqlConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.PerformanceLevelSql)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default <see cref="NpgsqlValueGenerationStrategy" />. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default <see cref="NpgsqlValueGenerationStrategy" />. </returns> public static ConfigurationSource?GetValueGenerationStrategyConfigurationSource(this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.ValueGenerationStrategy)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default hi-lo sequence name. /// </summary> /// <param name="model">The model.</param> /// <returns>The <see cref="ConfigurationSource" /> for the default hi-lo sequence name.</returns> public static ConfigurationSource?GetHiLoSequenceNameConfigurationSource(this IConventionModel model) => model.FindAnnotation(SqlServerAnnotationNames.HiLoSequenceName)?.GetConfigurationSource();
/// <summary> /// Returns the <see cref="ConfigurationSource" /> for the default hi-lo sequence name. /// </summary> /// <param name="model"> The model. </param> /// <returns> The <see cref="ConfigurationSource" /> for the default hi-lo sequence name. </returns> public static ConfigurationSource?GetHiLoSequenceNameConfigurationSource([NotNull] this IConventionModel model) => model.FindAnnotation(NpgsqlAnnotationNames.HiLoSequenceName)?.GetConfigurationSource();