LightSpeed is a high-performance. NET domain modeling and O/R mapping framework, the first level of LINQ support, Visual Studio 2008/2010 Designer integration, is a well-known high-performance framework. " Note: fees are charged!" "
The installation process is not mentioned.
The first step
Right-click Project, add New item---data---Lightspeedmodel. Then rename click Add to
The file appears in the project and opens
The second step is to add the model
Drag an entity control to the panel
Right click on the blank Panel, click Properties, set the corresponding database connection string and database type (db Provider)
such as: server=123.234.345.567; User=sa;pwd=123;database=sqlexpress
Step three Add Table data
Click "Entity1" to change the corresponding table name (entity name)
Add a field: Right-click the table and add the Entity property
A simple table is done, save it.
Fourth Step mapping the table structure to the database
Right click on the blank Space, the following menu appears, click "Update Database" can
If you succeed, you will be prompted with a pop-up window.
Then click "Get Started", the following page appears
Copies all the text in the Configuration file entries for your model.
Add a new configuration file (app. Config, Web. config, and so on) to the project
Paste the content you just copied into the configuration node.
And the "code for your Model" is the corresponding demo, you can paste into the code to try.
The subsequent use of the code is relatively straightforward, very close to EF, including LINQ and lambda expression applications.
Lightspeed Using Tutorials