Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

linq to sql

fcuk112's Avatar

fcuk112

Mar 15, 2011 @ 10:13 AM

hi what is the recommendation for linq to sql classes? i have it in a seperate project file which has a local app.config. seems it likes to hard-code the connectionstring in the dbml as well. would be great if this could be modified on the fly somehow when pushing to appharbor.

awesome work guys!

  1. 1 Posted by fcuk112 on Mar 15, 2011 @ 05:15 PM

    fcuk112's Avatar

    sorry never mind - this seems an easy workaround:
    http://stackoverflow.com/questions/3063099/using-a-linq-to-sql-clas...

    please close.

  2. Support Staff 2 Posted by friism on Mar 15, 2011 @ 06:07 PM

    friism's Avatar

    Glad you worked it out. I can also recommend this article. If your connectionstring is in your web.config, you can get AppHarbor to insert the correct value on deploy.

  3. friism closed this discussion on Mar 15, 2011 @ 06:07 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac