Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Table Structure Question on EF

$
0
0

Okay, I am working through the tutorials and getting a bit confused by this.

In SQL if I was setting a table up with a primary key and a couple of foreign keys I would probably add an index to the foreign keys.

In the EF tutorials I have noticed they don't mention indexes.  I am confused by the omission.  Is it because EF doesn't need indexes or is it the tutorial tables are too small to bother indexing or is it to prevent confusing beginners or...?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>