src/EFCore.MySql/Migrations/Internal/MySqlMigrationsAnnotationProvider.cs
/// <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>
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.
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 .
public override IEnumerable<IAnnotation> For(IProperty property)
        {
            if (property.MySql().ValueGenerationStrategy.HasValue)
            {
                yield return new Annotation(
                    MySqlAnnotationNames.ValueGenerationStrategy,
                    property.MySql().ValueGenerationStrategy.Value);
            }
            foreach (var annotation in ForRemove(property))
            {
                yield return annotation;
            }
        }
public override IEnumerable < IAnnotation > For ( IProperty property ) { if ( property . MySql ( ) . ValueGenerationStrategy . HasValue ) { yield return new Annotation ( MySqlAnnotationNames . ValueGenerationStrategy , property . MySql ( ) . ValueGenerationStrategy . Value ) ; } foreach ( var annotation in ForRemove ( property ) ) { yield return annotation ; } }
This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code.
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code .
property
IProperty