Home >Backend Development >PHP Tutorial >How to add functions to the original system deepin system installation system system restoration

How to add functions to the original system deepin system installation system system restoration

WBOY
WBOYOriginal
2016-07-29 08:52:201339browse

The first step is to find a way to import the table creation statement into a powerdesginer
How to add functions to the original system deepin system installation system system restoration
How to add functions to the original system deepin system installation system system restoration
How to add functions to the original system deepin system installation system system restoration
The second step is to sort and color
How to add functions to the original system deepin system installation system system restoration
The third step is to synchronize the table names. If you have two monitors, you can open two monitors
Look at the table names in one
How to add functions to the original system deepin system installation system system restoration
Complete the name of the unknown table
How to add functions to the original system deepin system installation system system restoration
Another way to look at the data (all based on guessing)
How to add functions to the original system deepin system installation system system restoration
Sometimes you need to look at the code PHP html
How to add functions to the original system deepin system installation system system restoration
ps:comment to change the name

Option   Explicit    
ValidationMode   =   True    
InteractiveMode   =   im_Batch    
  
Dim   mdl   '   the   current   model    
  
'   get   the   current   active   model    
Set   mdl   =   ActiveModel    
If   (mdl   Is   Nothing)   Then    
      MsgBox   "There   is   no   current   Model "    
ElseIf   Not   mdl.IsKindOf(PdPDM.cls_Model)   Then    
      MsgBox   "The   current   model   is   not   an   Physical   Data   model. "    
Else    
      ProcessFolder   mdl    
End   If    
  
Private   sub   ProcessFolder(folder)    
On Error Resume Next   
      Dim   Tab   'running     table    
      for   each   Tab   in   folder.tables    
            if   not   tab.isShortcut   then    
                  tab.name   =   tab.comment   
                  Dim   col   '   running   column    
                  for   each   col   in   tab.columns    
                  if col.comment="" then   
                  else  
                        col.name=   col.comment    
                  end if  
                  next    
            end   if    
      next    
  
      Dim   view   'running   view    
      for   each   view   in   folder.Views    
            if   not   view.isShortcut   then    
                  view.name   =   view.comment    
            end   if    
      next    
  
      '   go   into   the   sub-packages    
      Dim   f   '   running   folder    
      For   Each   f   In   folder.Packages    
            if   not   f.IsShortcut   then    
                  ProcessFolder   f    
            end   if    
      Next    
end   sub 


The fourth step is to list the names Synchronization (same as above)
Tips 1:
How to add functions to the original system deepin system installation system system restoration
Export the csv to see more clearly and add a few more fields
Basically complete the understanding of the data structure
Print an A3 sheet and hang it on the wall behind you (or multiple A4 sheets)

The above introduces how to add functions to the original system, including the system and what aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn