public static ConfigurationSource?GetValueGenerationStrategyConfigurationSource(this IConventionProperty property)
 => property.FindAnnotation(FbAnnotationNames.ValueGenerationStrategy)?.GetConfigurationSource();
Ejemplo n.º 2
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for the <see cref="SqlServerValueGenerationStrategy" />.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the <see cref="SqlServerValueGenerationStrategy" />. </returns>
 public static ConfigurationSource?GetValueGenerationStrategyConfigurationSource(
     [NotNull] this IConventionProperty property)
 => property.FindAnnotation(SqlServerAnnotationNames.ValueGenerationStrategy)?.GetConfigurationSource();
Ejemplo n.º 3
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for the hi-lo sequence name.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the hi-lo sequence name. </returns>
 public static ConfigurationSource?GetHiLoSequenceNameConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(SqlServerAnnotationNames.HiLoSequenceName)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for <see cref="PropertyExtensions.FindTypeMapping(IProperty)" />.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for <see cref="PropertyExtensions.FindTypeMapping(IProperty)" />. </returns>
 public static ConfigurationSource?GetTypeMappingConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.TypeMapping)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the column SRID.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the column SRID. </returns>
 public static ConfigurationSource?GetSridConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(TaosAnnotationNames.Srid)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.GetAfterSaveBehavior" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.GetAfterSaveBehavior" />. </returns>
 public static ConfigurationSource?GetAfterSaveBehaviorConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.AfterSaveBehavior)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.GetProviderClrType" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.GetProviderClrType" />. </returns>
 public static ConfigurationSource?GetProviderClrTypeConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.ProviderClrType)?.GetConfigurationSource();
Ejemplo n.º 8
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the identity sequence options.
 /// </summary>
 /// <param name="property">The property.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the identity sequence options.</returns>
 public static ConfigurationSource?GetIdentityOptionsConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(NpgsqlAnnotationNames.IdentityOptions)?.GetConfigurationSource();
Ejemplo n.º 9
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the hi-lo sequence schema.
 /// </summary>
 /// <param name="property">The property.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the hi-lo sequence schema.</returns>
 public static ConfigurationSource?GetHiLoSequenceSchemaConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(NpgsqlAnnotationNames.HiLoSequenceSchema)?.GetConfigurationSource();
Ejemplo n.º 10
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the Spatial Reference System Identifier (SRID).
 /// </summary>
 /// <param name="property">The property.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the Spatial Reference System Identifier (SRID).</returns>
 public static ConfigurationSource?GetSpatialReferenceSystemConfigurationSource(this IConventionProperty property)
 => property.FindAnnotation(MySqlAnnotationNames.SpatialReferenceSystemId)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the view column name.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the view column name. </returns>
 public static ConfigurationSource?GetViewColumnNameConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(RelationalAnnotationNames.ViewColumnName)?.GetConfigurationSource();
Ejemplo n.º 12
0
 /// <summary>
 /// Returns the <see cref="ConfigurationSource" /> for the character set.
 /// </summary>
 /// <param name="property">The property.</param>
 /// <returns>The <see cref="ConfigurationSource" /> for the character set.</returns>
 public static ConfigurationSource?GetCharSetConfigurationSource(this IConventionProperty property)
 => property.FindAnnotation(MySqlAnnotationNames.CharSet)?.GetConfigurationSource();
Ejemplo n.º 13
0
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the column dimension.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the column dimension. </returns>
 public static ConfigurationSource?GetSqliteDimensionConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(SqliteAnnotationNames.Dimension)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the column dimension.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the column dimension. </returns>
 public static ConfigurationSource?GetGeometricDimensionConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(TaosAnnotationNames.Dimension)?.GetConfigurationSource();
Ejemplo n.º 15
0
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the property name used when targeting Cosmos.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the property name used when targeting Cosmos. </returns>
 public static ConfigurationSource?GetPropertyNameConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CosmosAnnotationNames.PropertyName)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the computed value SQL expression.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the computed value SQL expression. </returns>
 public static ConfigurationSource?GetComputedColumnSqlConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(RelationalAnnotationNames.ComputedColumnSql)?.GetConfigurationSource();
Ejemplo n.º 17
0
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.IsUnicode" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.IsUnicode" />. </returns>
 public static ConfigurationSource?GetIsUnicodeConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.Unicode)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for the default value.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the default value. </returns>
 public static ConfigurationSource?GetDefaultValueConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(RelationalAnnotationNames.DefaultValue)?.GetConfigurationSource();
Ejemplo n.º 19
0
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.GetValueGeneratorFactory" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.GetValueGeneratorFactory" />. </returns>
 public static ConfigurationSource?GetValueGeneratorFactoryConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.ValueGeneratorFactory)?.GetConfigurationSource();
 /// <summary>
 ///     Gets the <see cref="ConfigurationSource" /> for <see cref="IsFixedLength(IProperty)" />.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for <see cref="IsFixedLength(IProperty)" />. </returns>
 public static ConfigurationSource?GetIsFixedLengthConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(RelationalAnnotationNames.IsFixedLength)?.GetConfigurationSource();
Ejemplo n.º 21
0
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.GetKeyValueComparer" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.GetKeyValueComparer" />. </returns>
 public static ConfigurationSource?GetKeyValueComparerConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.KeyValueComparer)?.GetConfigurationSource();
Ejemplo n.º 22
0
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for the identity increment.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the identity increment. </returns>
 public static ConfigurationSource?GetIdentityIncrementConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(SqlServerAnnotationNames.IdentityIncrement)?.GetConfigurationSource();
Ejemplo n.º 23
0
 /// <summary>
 ///     Returns the configuration source for <see cref="PropertyExtensions.GetMaxLength" />.
 /// </summary>
 /// <param name="property"> The property to find configuration source for. </param>
 /// <returns> The configuration source for <see cref="PropertyExtensions.GetMaxLength" />. </returns>
 public static ConfigurationSource?GetMaxLengthConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(CoreAnnotationNames.MaxLength)?.GetConfigurationSource();
 /// <summary>
 ///     Returns the <see cref="ConfigurationSource" /> for the identity seed.
 /// </summary>
 /// <param name="property"> The property. </param>
 /// <returns> The <see cref="ConfigurationSource" /> for the identity seed. </returns>
 public static ConfigurationSource?GetIdentitySeedConfigurationSource([NotNull] this IConventionProperty property)
 => property.FindAnnotation(JetAnnotationNames.IdentitySeed)?.GetConfigurationSource();