title: Insert into many-to-many relationship tables
body: <p>Simple scenario</p>
  
  <pre><code>[ClientTable]: ClientId, ClientName, Phone, Age
  [CityTable]: CityID, CityName, Country
  [ClientCityTable]: ClientCityID, ClientID, CityID
  
  Client client = new Client("John", 123456789, 40);
  City city = new City("NY", USA);
  ClientCity clientCity = new ClientCity(client, city);
  </code></pre>
  
  <p>Should I make InsertOnSubmit on every object(table) or only on clientCity?
  Or it doesn't matter? Where's the difference?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I'ms asking if should I make</p>
  
  <pre><code>DatabaseDC dc = new DatabaseDC(connectionString);
  dc.Client.InsertOnSubmit(client);
  dc.City.InsertOnSubmit(city);
  dc.ClientCity.InsertOnSubmit(clientCity);
  dc.SubmitChanges();
  </code></pre>
  
  <p>or only</p>
  
  <pre><code>DatabaseDC dc = new DatabaseDC(connectionString);
  dc.ClientCity.InsertOnSubmit(clientCity);//because this object has references to client and city
  dc.SubmitChanges();
  </code></pre>
  
  <p>?</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>I made a few attempts and even of I use <code>InsertOnSubmit</code> only on <code>client</code>, entries are inserted also to <code>City</code> and <code>ClientCity</code>. How should I do it correctly?</p>