Administrative division: Abbreviation for the administrative district, is the country to carry out the classification management and the regional division. China's current administrative divisions implement the following principles: 1, the country is divided into provinces, autonomous regions, municipalities, 2, provinces and autonomous regions are divided into autonomous prefectures, counties, autonomous counties, municipalities, 3, Autonomous Prefecture divided into counties, autonomous counties, municipalities, 4, county and autonomous counties are divided into townships, townships and towns; A special Administrative region established by the State when necessary. Administrative divisions are the regional divisions that the State implements for hierarchical management. China's current six-level administrative regions, namely, provincial, district, County, township, village, group level, including provincial, county, township level Three is the basic administrative district.
"Administrative area management" is basically used in every business system, and the framework supports the administration of administrative areas from the 3.2 release. Convenient to call where needed, and do a uniform maintenance here. In the administrative area management main interface, the tree on the left adopts the way of asynchronous loading, and then the large amount of data can be loaded easily. The entire administrative region is divided into common 4 levels, respectively,:1-> Province/municipality, 2-> prefecture-level city, 3-> counties, 4-> town/Street.
In Rdiframework.net, the Administrative Administration service interface is:
RDIFrameworkService.Instance.BaseInfrastructureService
The class diagram and the class details are as follows:
I. Administrative administration of the Web Edition administrative area
In the 3.2 version of the Rdiframework.net Web version of the main interface of the administrative region as shown, the entire interface with the classic left and right separation of the display, the left side of the tree is listed in the form of all the administrative regions, the left side of the designated administrative area to show the details. At the same time, it is necessary to specify that the administrative tree data on the left reaches nearly 50,000 data, and if it is loaded into the tree all at once, the efficiency is bound to drop because of the new asynchronous loading method, which can be loaded on demand and is surprisingly efficient.
Add the administrative area interface as follows:
Modify the administrative area interface as follows:
II. Administrative Administration of administrative regions of WinForm Edition
In the Rdiframework.net WinForm version of the function of the administrative region is the same as the web version, the same administrative region on the left side of the tree is also the use of asynchronous loading, administrative area management main interface as shown.
Add the administrative area interface as follows:
Modify the administrative area interface as follows:
Related articles:
Rdiframework Platform Code generator V3.2 release version
rdiframework.net-based on. NET rapid Information System development Framework-Series catalogue
Rdiframework.net━.net Rapid Information System Development framework- Introduction to Workflow Components
For a few years, thanks to the supporters and users of the rdiframework.net framework, you can find out more at the address below.
rdiframework.net official website:http://www.rdiframework.net/
rdiframework.net Official blog:http://blog.rdiframework.net/
At the same time need to be explained, all the technical articles in the future to the official website as the subject, welcome to our collection!
rdiframework.net Framework by the professional team for a long time to build, has been updated, has been upgrading, please rest assured that use!
Welcome to Rdiframework.net Framework Official public (No.:rdiframework-net), keep abreast of the latest developments.
Scan QR code for immediate attention
Rdiframework.net━. NET rapid Information System development Framework v3.2-> added "administrative area management", while large batches of trees with asynchronous loading