Le réseau pour les développeurs > Forums - Accueil > SQL Server Integration Services > Using "Column Mapping" Control in Custom Data Flow Component Editor
Poser une questionPoser une question
 

TraitéeUsing "Column Mapping" Control in Custom Data Flow Component Editor

Réponses

  • vendredi 29 mai 2009 15:03KimYda Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    I have been looking for this for a long time as well. Pointing me in the direction of the Microsoft.DataTransformationServices.Design assembly helped me a lot, although I could not find the mentioned DataFlowUsageTypePage class.

    However, if you add Microsoft.DataTransformationServices.Design to your toolbox in Visual Studio, one of the added controls is the DtsMappingSurfaceControl.

    This control has a number of methods to initialize the left and right table, using a ColumnInfo array.

    The number of properties and methods on this control are limited, and pretty much self-explanatory.

    A large number of other standard SSIS UI elements are also at your disposal using this method.
  • samedi 25 octobre 2008 20:27CozyRoc Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Search for DataFlowUsageTypePage class (part of Microsoft.DataTransformationServices.Design assembly). This is the tab page hosting the column mapping control.

    Get ready to spend a lot of time, browsing the SSIS framework with Reflector. This functionality is undocumented.
  • dimanche 5 juillet 2009 07:12Todd McDermidMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    I've posted directions on how to use the DtsMappingSurfaceControl (the control behind this capability) on my blog.  Sample code is included.


    Todd McDermid's Blog

Toutes les réponses

  • samedi 25 octobre 2008 20:27CozyRoc Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Search for DataFlowUsageTypePage class (part of Microsoft.DataTransformationServices.Design assembly). This is the tab page hosting the column mapping control.

    Get ready to spend a lot of time, browsing the SSIS framework with Reflector. This functionality is undocumented.
  • samedi 25 octobre 2008 21:40Todd McDermidMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    TYVM.

     

    I would venture to say that most of the SSIS API is "undocumented" - but that's probably just mean.

     

  • vendredi 29 mai 2009 15:03KimYda Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    I have been looking for this for a long time as well. Pointing me in the direction of the Microsoft.DataTransformationServices.Design assembly helped me a lot, although I could not find the mentioned DataFlowUsageTypePage class.

    However, if you add Microsoft.DataTransformationServices.Design to your toolbox in Visual Studio, one of the added controls is the DtsMappingSurfaceControl.

    This control has a number of methods to initialize the left and right table, using a ColumnInfo array.

    The number of properties and methods on this control are limited, and pretty much self-explanatory.

    A large number of other standard SSIS UI elements are also at your disposal using this method.
  • lundi 22 juin 2009 20:13Todd McDermidMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Thanks for the direction KimYda!

    I've deciphered the object model and have made the UI work for me - even though there's way more work involved than I think there should be.  (But that may be due to me not taking advantage of things I don't know that are there.)

    The code to use this capability will soon be published on CodePlex as part of the Kimball SCD transformation, in v1.5.  It's not ready yet - but the code will be there shortly.
    Todd McDermid's Blog
  • dimanche 5 juillet 2009 07:12Todd McDermidMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    I've posted directions on how to use the DtsMappingSurfaceControl (the control behind this capability) on my blog.  Sample code is included.


    Todd McDermid's Blog