Skip to content

Settings and activity

1 result found

  1. 52 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    NickR commented  · 

    Update to previous comment: That code doesn't seem to work in LinqPad currently as GetProperties only returns related entities, omitting all other database fields. I'm unsure if that's a LinqPad-specific problem or not.

    An error occurred while saving the comment
    NickR commented  · 

    I think this is an important idea. The LinqPad site even states how LinqPad is GREAT except for a few cases including Bulk Insert. It need not be the case.

    There's an implementation of Linq-toSQL bulk Insert here: https://stackoverflow.com/questions/9220901/bulk-insert-with-linq-to-sql

    Integrating it directly in LinqPad under Util.BulkInsert or similar would seem to offer some advantages in terms of ready access to the DataContext and all the entities.

    NickR supported this idea  ·