Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wayne 19 posts 59 karma points
    Oct 21, 2010 @ 04:49
    Wayne
    0

    Can you use Package Actions to create Relation Type?

    Is it possible to use Package Actions to create Relation Types.

     

    I am having trouble finding any code examples.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 21, 2010 @ 04:53
    Aaron Powell
    0

    I don't see why not. A Package Action allows you to run any .NET code you desire, so if you write the code for doing a Relation Type it'd be runable.

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Oct 21, 2010 @ 08:36
    Richard Soeteman
    0

    Hi,

    I'm coordinator on the PackageActionsContrib project. You can download the sourcecode from Codeplex to have a look at the other actions

    There used to be a PDF describing the PackagAction Interface, I found it in Google Cache. This doc descibes the interface. On gotcha the Undo option only works when you don't use the attribute in your packagaction xml.

    Please feel free to upload your action to codeplex and let it be part of the community project.

    Thanks,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft