Two Custom tool s for a single file? RRS feed

  • Question

  • Hello all ,

    I want to generate some code from my dbml(Linq to Sql) file So I wrote a custom tool for this purpose

    But the problem is that dbml already  has contained MSLinqToSQLGenerator custom tool ,

    So do you know any way to set two custom tools for one file, If no, Let me know your idea about that


    Sunday, May 15, 2011 9:40 AM


  • Hi Hamid,


    Thanks for your post.

    As far as I know, you cannot set two generator two the same file,

    I suggest to save the file as a different name and set your custom code generator to it.

    And include both files into your project.

    Hope my reply helps resolve your issue.

    Ziwei Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, May 17, 2011 9:05 AM