Esempio n. 1
0
        //public void makeArbitraryNode()
        //{
        //    if( null == TestNode )
        //    {

        //        if( null == TestNodeType )
        //        {
        //            TestNodeType = _CswTestCaseRsrc.makeTestNodeType( TestNodeTypeNamesFake.TestNodeType01 );
        //            BuiltInProp = TestNodeType.getNodeTypeProp( "Name" );
        //            AddedProp = _CswNbtSchemaModTrnsctn.MetaData.makeNewProp( TestNodeType, CswEnumNbtFieldType.Text, "AddedProp", 0 );
        //        }

        //        CswNbtMetaDataNodeType LatestVersionNT = _CswNbtSchemaModTrnsctn.MetaData.getNodeTypeLatestVersion( TestNodeType.NodeTypeId );
        //        TestNode = _CswNbtSchemaModTrnsctn.Nodes.makeNodeFromNodeTypeId( LatestVersionNT.NodeTypeId, CswEnumNbtMakeNodeOperation.DoNothing );
        //    }//if we haven't already made a node

        //}//makeArbitraryNode()


        public DataTable getJctAuditRecords()
        {
            DataTable ReturnVal = null;

            CswCommaDelimitedString CswCommaDelimitedString = new CswCommaDelimitedString();

            CswCommaDelimitedString.Add(JctNodePropIdOfBuiltInProp.ToString());
            CswCommaDelimitedString.Add(JctNodePropIdOfAddedProp.ToString());

            CswArbitrarySelect CswArbitrarySelect = _CswNbtSchemaModTrnsctn.makeCswArbitrarySelect(Purpose, "select * from jct_nodes_props_audit where jctnodepropid in (" + CswCommaDelimitedString.ToString() + ")");


            ReturnVal = CswArbitrarySelect.getTable();

            return(ReturnVal);
        }