CreateNew() public static method

public static CreateNew ( DataViewHierarchyAccessor HierarchyAccessor, bool isFunc ) : void
HierarchyAccessor DataViewHierarchyAccessor
isFunc bool
return void
        /// <summary>
        /// Handle any of the static commands
        /// </summary>
        /// <param name="commandId"></param>
        /// <returns></returns>
        private bool HandleStaticCommand(int commandId)
        {
            switch ((uint)commandId)
            {
            case PkgCmdIDList.cmdCreateTable:
            case PkgCmdIDList.cmdidGlobalCreateTable:
                TableNode.CreateNew(DataViewHierarchyAccessor);
                return(true);

            case PkgCmdIDList.cmdCreateProcedure:
            case PkgCmdIDList.cmdidGlobalCreateProcedure:
                StoredProcedureNode.CreateNew(DataViewHierarchyAccessor, false);
                return(true);

            case PkgCmdIDList.cmdCreateFunction:
            case PkgCmdIDList.cmdidGlobalCreateFunction:
                StoredProcedureNode.CreateNew(DataViewHierarchyAccessor, true);
                return(true);

            case PkgCmdIDList.cmdCreateView:
            case PkgCmdIDList.cmdidGlobalCreateView:
                ViewNode.CreateNew(DataViewHierarchyAccessor);
                return(true);

            case PkgCmdIDList.cmdCreateUDF:
            case PkgCmdIDList.cmdidGlobalCreateUDF:
                UDFNode.CreateNew(DataViewHierarchyAccessor);
                return(true);
            }
            return(false);
        }