1. Adjust the function of "GenerateID" of each table, use a global variable to store...
[people/mcb30/basetools.git] / Source / Python / Table / Table.py
index 894089c..ec5cbc4 100644 (file)
@@ -37,6 +37,7 @@ class Table(object):
     #\r
     def Create(self, SqlCommand):\r
         self.Cur.execute(SqlCommand)\r
+        self.ID = 0\r
         EdkLogger.verbose(SqlCommand + " ... DONE!")\r
 \r
     ## Insert table\r