none
Generate Linq to SQL DBML image from C#? RRS feed

  • Question

  • Is it possible to generate an image (jpg, png...) of the DBML that displays in the O/R Designer though c# alone?
    --ACG
    Wednesday, December 21, 2011 2:16 PM

Answers

  • Hi ACG,

    Sorry for the late response, we just noticed that your post was moved to LINQ to SQL forum.  

    As I said in this thread of yours, we need to understand or at least call O/R designer related APIs to parse the DBML file if we want the diagram image.  However I don't think LINQ to SQL export some design related assemblies for us to use O/R designer programmatically. 

    We still need to open VS and the O/R designer, and then use some Print functions of VS to export the DBML into images.  We need some VS extension knowledge here to do so.

    Thanks

     

     


    Michael Sun [MSFT]
    MSDN Community Support | Feedback to us
    • Marked as answer by ACG Monday, January 23, 2012 4:13 AM
    Friday, January 20, 2012 3:16 AM
    Moderator