예제 #1
0
 def Insert(self, Model, Value1, Value2, Value3, Scope1='COMMON', Scope2='COMMON',
            BelongsToItem=-1, StartLine=-1, StartColumn=-1, EndLine=-1, EndColumn=-1, Enabled=0):
     (Value1, Value2, Value3, Scope1, Scope2) = ConvertToSqlString((Value1, Value2, Value3, Scope1, Scope2))
     return Table.Insert(
                     self, 
                     Model, 
                     Value1, 
                     Value2, 
                     Value3, 
                     Scope1, 
                     Scope2,
                     BelongsToItem, 
                     StartLine, 
                     StartColumn, 
                     EndLine, 
                     EndColumn, 
                     Enabled
                     )
예제 #2
0
 def Insert(self, Model, Value1, Value2, Value3, Scope1='COMMON', Scope2='COMMON', Scope3=TAB_DEFAULT_STORES_DEFAULT,BelongsToItem=-1,
            FromItem=-1, StartLine=-1, StartColumn=-1, EndLine=-1, EndColumn=-1, Enabled=1):
     (Value1, Value2, Value3, Scope1, Scope2,Scope3) = ConvertToSqlString((Value1, Value2, Value3, Scope1, Scope2,Scope3))
     return Table.Insert(
                     self, 
                     Model, 
                     Value1, 
                     Value2, 
                     Value3, 
                     Scope1, 
                     Scope2,
                     Scope3,
                     BelongsToItem, 
                     FromItem,
                     StartLine, 
                     StartColumn, 
                     EndLine, 
                     EndColumn, 
                     Enabled
                     )