コード例 #1
0
        public atriumDB.FileXRefDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            atriumDB.FileXRefDataTable dt = new atriumDB.FileXRefDataTable();
            Fill(dt);
            return(dt);
        }
コード例 #2
0
 internal FileXRefBE(FileManager pBEMng) : base(pBEMng, pBEMng.DB.FileXRef)
 {
     myA          = pBEMng;
     myFileXRefDT = (atriumDB.FileXRefDataTable)myDT;
     if (!myA.AtMng.AppMan.UseService && myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetFileXRef();
     }
 }
コード例 #3
0
        public atriumDB.FileXRefDataTable LoadByOtherFileId(int OtherFileId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[FileXRefSelectByOtherFileId]";
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@OtherFileId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@OtherFileId"].Value = OtherFileId;

            atriumDB.FileXRefDataTable dt = new atriumDB.FileXRefDataTable();
            Fill(dt);
            return(dt);
        }