Skip to content

[Feature] Add CreateOrAlter to Transfer.TransferData  #173

Open

Description

Currently, one can only Create or Drop / Create on TransferData, it seems. It would be nice if Transfer would respect the scripting options for CreateOrAlter like Transfer.ScriptTransfer does.

I've tried using EnforceScriptingOptions too as well as Touch()-ing the Transfer.Database.StoredProcedures['name']

Maybe below would require a change?

if (this.DropDestinationObjectsFirst)
{
scriptMaker.Preferences.Behavior = ScriptBehavior.DropAndCreate;
}
else
{
scriptMaker.Preferences.Behavior = ScriptBehavior.Create;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions