Home All Groups Group Topic Archive Search About

Insert Record in DataContext without upgrading the database

Author
25 Mar 2010 8:13 AM
Paul
Hi,
I have a DataContext with two classes, customers and orders.
In the DataContext i insert a new customer, but not execute a
SubmitChanges ().
How can i do to loop thought the Class "Customers" and find the new
customer inserted? (I can't update a Database)

Thanks

Author
25 Mar 2010 11:06 AM
Mr. Arnold
Paul wrote:
> Hi,
> I have a DataContext with two classes, customers and orders.
> In the DataContext i insert a new customer, but not execute a
> SubmitChanges ().
> How can i do to loop thought the Class "Customers" and find the new
> customer inserted? (I can't update a Database)
>
> Thanks

You should have cross posted this to all forums at onetime so that all
replies could have been seen in all forums involved.