public static bool ChangeTrackingAutoCleanUp(this AlterDatabaseOperation operation) { return((bool)operation.FindAnnotation(SqlChangeTrackingAnnotationNames.AutoCleanup).Value); }
public static bool IsChangeTrackingEnabled(this AlterDatabaseOperation operation) => operation.FindAnnotation(SqlChangeTrackingAnnotationNames.Enabled)?.Value as bool? ?? false;
public static int ChangeTrackingRetentionDays(this AlterDatabaseOperation operation) { return((int)operation.FindAnnotation(SqlChangeTrackingAnnotationNames.ChangeRetentionDays).Value); }