Example sequencer program management component

 For a manageability software is concerned, the policy data to generate the primary key is the key point, this idea is related to the infrastructure of the entire system.
I wrote the program will pay attention to compatibility with multiple databases, want their programs can be written relatively smooth run on multiple databases, or
while maintaining several versions are very real problem, as a professional software development management concerned, the problem often encountered a variety of databases.
 Let someone else write the core of things, one is not assured performance issues, and second, do not trust function is powerful, test to test to go, very troubled, so it
is his time to rest, to write out this sequence manager, was test function has been very stable, and my heart at ease a lot,
always wanted to improve this module, the idea has been for several months, and we have no time to write this section, use a weekend break for two days can be considered
to achieve a wish a.

  The main function is very simple and can add, modify, delete, but Base_Sequence can not be removed, or else suffer, the system crashes.
Of course, can not be repeated when you add, can not be repeated when modified, this is the most basic of basic functions. In fact, the export function is redundant, is simple to implement to
do it, maybe also used.

  You might laugh at me, not that a sequence management do? What is difficult? Then you are wrong, my sequence management is fully automated, is the front
just call a function, you can get a sequence, whether the sequence is present, can be created automatically, so you save a lot of effort, and I before and improved
3 years, now reaching extent, is very simple on the surface, deep thought, make you think spit up, do you really think it over, you can give me a message exchange ideas.

Screenshot for everyone to see

Increasing sequence, a descending sequence, mainly in order to generate a primary sort key and the key.
Reset, re-normalized to the original sequence state.


Add: After adding a record, you can continue to add.
Save: After adding a record, will close the form, you can do other things.


Reproduced in: https: //my.oschina.net/iwenr/blog/227931

Guess you like

Origin blog.csdn.net/weixin_34153893/article/details/91674476