Entity Framework power tools is an add-on of Visual Studio. Entity classes can be generated based on the database structure. For developers who use ADO. NET Entity Framework, especially those who useCodeDevelopers with priority (code first) can try it.
If you want to use it, you need to first install ADO. NET Framework 4.1, you can from the http://www.microsoft.com/downloads/en/details.aspx? Familyid = b41c728e-9b4f-4331-a1a8-537d16c6acdf & displaylang = EN download. Entity Framework Power Tools. Download the package and double-click it to install it.
You can also choose tools> external tools from the menu of Visual Studio to open the add-on management dialog box, select online gallery on the left, and then select Entity Framework power tools ctp1 for installation.
As described in, it is a design-time tool, so it does not need runtime support, that is, the tool can be installed on the client.
This tool can generate object classes based on the structure of existing databases. The operation is also very simple. Right-click the project name and there will be an Entity Framework menu. Click reverse engineer code first and configure the database connection to generate the entity class.
These object classes will be placed in the Entities folder, and context will be placed in the root directory.
This tool is very convenient for developers who already have databases, but need to use code first for development to reduce inter-module coupling or other reasons.