Custom class package

Development tools and key technologies: VS, MVC

Author: Chen Xingyu

Write Time: April 1

When we multi-table query, add, modify, delete, and to use multiple data tables, this time dealing with them is more trouble, so we have to receive data by way of a custom class

This is an example query, which had a package, class, grade, students, as well as users, we continue to use the database, create classes to receive the data is too much trouble, so we can customize a class to receive, fields used

 

We can create a class to receive the data, for example, FIG.

Development tools and key technologies: VS, MVC

Author: Chen Xingyu

Write Time: April 1

When we multi-table query, add, modify, delete, and to use multiple data tables, this time dealing with them is more trouble, so we have to receive data by way of a custom class

This is an example query, which had a package, class, grade, students, as well as users, we continue to use the database, create classes to receive the data is too much trouble, so we can customize a class to receive, fields used

 

We can create a class to receive the data, for example, FIG.

In which class we can get some custom class by inheriting a way to reduce the code we need to fight

In which class we can get some custom class by inheriting a way to reduce the code we need to fight

Guess you like

Origin blog.csdn.net/tianxiu11/article/details/88958934