I have generated few classes using to LINQ to SQL
one of them being "Customer"
Now I want to create a Customer object that is disconnected.
i.e. I can create the object keep it in session and then attach it back only if I want to. Not automatically. Hence only if I attach it - it should affect my context's SubmitChange() otherwise not.
Is this possible?
Also can I add this detached object to a collection of attached objects without affecting SubmitChanges() or on add will the detached object become attached again?