protected override void Generate(DropPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder) { throw new NotSupportedException(SqliteStrings.InvalidMigrationOperation(operation.GetType().ShortDisplayName())); }
/// <summary> /// Throws <see cref="NotSupportedException" /> since this operation requires table rebuilds, which /// are not yet supported. /// </summary> /// <param name="operation"> The operation. </param> /// <param name="model"> The target model which may be <c>null</c> if the operations exist without a model. </param> /// <param name="builder"> The command builder to use to build the commands. </param> /// <param name="terminate"> Indicates whether or not to terminate the command after generating SQL for the operation. </param> protected override void Generate( DropPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate = true) => throw new NotSupportedException( TaosStrings.InvalidMigrationOperation(operation.GetType().ShortDisplayName()));