title: DLINQ- Entities being inserted without .InsertOnSubmit(...)?
body: <p>I ran into an interesting problem while using DLINQ.  When I instantiate an entity, calling .SubmitChanges() on the DataContext will insert a new row into the database - without having ever called .Insert[All]OnSubmit(...).</p>
  
  <pre><code>//Code sample:
  Data.NetServices _netServices = new Data.NetServices(_connString);
  
  Data.ProductOption[] test = new Data.ProductOption[]
  {
          new Data.ProductOption
          {
               Name="TEST1", 
               //Notice the assignment here
               ProductOptionCategory=_netServices.ProductOptionCategory.First(poc =&gt; poc.Name == "laminate")
          }
  };
  
      _netServices.SubmitChanges();
  </code></pre>
  
  <p>Running the code above will insert a new row in the database.  I noticed this effect while writing an app to parse an XML file and populate some tables.  I noticed there were 1000+ inserts when I was only expecting around 50 or so - then I finally isolated this behavior.</p>
  
  <p>How can I prevent these objects from being persisted implicitly?</p>
  
  <p>Thanks,
  -Charles</p>