On Mon, August 20, 2012 6:02 pm, Stephen Russell wrote:
> 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.



Cool!  Yes...looks very similar!



_______________________________________________
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/[email protected]
** 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.

Reply via email to