Exemplo n.º 1
0
        public static void CreateNew(DataViewHierarchyAccessor hierarchyAccessor, TableNode parent)
        {
            TriggerNode node = new TriggerNode(hierarchyAccessor, 0);

            node.ParentTable = parent;
            node.Edit();
        }
Exemplo n.º 2
0
 public override void ExecuteCommand(int command)
 {
     if (command == PkgCmdIDList.cmdCreateTrigger)
     {
         TriggerNode.CreateNew(HierarchyAccessor, this);
     }
     else
     {
         base.ExecuteCommand(command);
     }
 }