c# - Linq To Sql - How to get # of inserted records -
How can I get the number of records recorded?
Is there any easier way than L2S, before counting and after difference and counting?
Can you try to use this functionality? / P>
_db.GetChangeSet (). Insert.Count (); Where _ db - your datacontax and before you insert your changes?
Comments
Post a Comment