On Mon, Aug 20, 2012 at 4:52 PM, MB Software Solutions General Account
<[email protected]> wrote:
> On Mon, August 20, 2012 5:50 pm, MB Software Solutions General Account wrote:
>> Ok, so how are you getting that data back to its true table (let's say a
>> SQL Server table)?
>
>
> Agree with you about the disconnected recordsets, btw. I use Paul
> McNett's MakeUpdatable.prg to basically update the real backend. (I've
> used that with a MySQL backend for years.)
>
----------------------
The linq method:
using (RingEDIEngineEntities db = new RingEDIEngineEntities()) //
Class that maps my db tables and columns
{
try
{
InterchangeLog IL = new InterchangeLog(); // copy
blank to memvar IL
IL.FileID = il.FileID;
IL.dtmAdd = DateTime.Now;
db.AddToInterchangeLogs(IL); // Insert into from memvar
db.SaveChanges(); // write the
changes to the db NOW
return IL.InterchangeID; // give me the
key it just made
}
See it is not much different then what you do I bet.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/CAJidMY+91Oc-b9TmPs4oEtfiKYKETr=avohkwqzb53wtv8h...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.