Your question is too broad to be properly answered. There are many, many resources online that can provide you guidelines for using the various technologies in .NET. Such resources are far too numerous to mention here. Just search for the technology you are interested in (such as entity framework or LINQ) and then guidelines and you'll get lots of resources.
For EF specifically refer to their official documentation here.