コード例 #1
0
/*-----------------------------------------------------*/

//Peter Larsen 11/12/2003
        public cDataObjectList(XmlNode aObjDefNode, DataSet aDS, cDataObjectFactory aDataObjectFactory)
        {
            mDataObjectList    = new ArrayList();
            mDataObjectFactory = aDataObjectFactory;
            mObjDataSet        = aDS;
            mObjDefNode        = aObjDefNode;
            DataTable aDT = aDS.Tables[0];

            AddDataObjects(aDT);
        }
コード例 #2
0
/*-----------------------------------------------------*/

        public cDataObjectList(XmlNode aObjDefNode, XmlNode aDataObjectNode,
                               String aDefinitionKey, cDataObjectFactory aDataObjectFactory)
        {
            mDataObjectList    = new ArrayList();
            mDataObjectFactory = aDataObjectFactory;
            mObjDefNode        = aObjDefNode;
            mDataObjectNode    = aDataObjectNode;


            mObjDataSet    = new DataSet();
            mDefinitionKey = aDefinitionKey;

            PopulateDataTable();
        }
コード例 #3
0
/*====================================================*/

        public cDataObjectList(cDataObjectFactory aDataObjectFactory)
        {
            mDataObjectList    = new ArrayList();
            mDataObjectFactory = aDataObjectFactory;
        }