I need to use two extension methods SqlCommandExtensions & SqlConnectionExtensions
Here they say the I have to use these if I use entity framework http://msdn.microsoft.com/en-us/library/hh680906%28v=pandp.50%29.aspx
In addition, the SqlCommandExtensions and SqlConnectionExtensions classes provide a set of extension methods that enable .NET developers to open SQL Azure database connections and invoke the SQL commands. These extension methods are useful in the event that you are unable to adapt your code to take advantage of the ReliableSqlConnection class. For example, you may be using the Enterprise Library Data Access Application Block or Entity Framework that use SqlConnection instances internally.
The problem is that they don’t provide any example on how to use this.
How exactly do I use these extension methods with Entity Framework? Should I use inheritance or/and where exactly should it be done?
I believe you just need to make sure to look in the right place. Here are the list of SqlCommandExtensions and here are the list of SqlConnectionExtensions. I think they actually are fairly self-explanatory on how each should be used. You could probably google for an example of each one.
However, these seem pretty low-level compared to the POCO ORM way that you should probably use:
DbContext and ObjectContext methods that you can use with POCOs