示例#1
0
        public SST.FilePartyDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            SST.FilePartyDataTable dt = new SST.FilePartyDataTable();
            Fill(dt);
            return(dt);
        }
示例#2
0
 internal FilePartyBE(SSTManager pBEMng)
     : base(pBEMng, pBEMng.DB.FileParty)
 {
     myA           = pBEMng;
     myFilePartyDT = (SST.FilePartyDataTable)myDT;
     if (myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetFileParty();
     }
 }
示例#3
0
        public SST.FilePartyDataTable LoadByFilePartyId(int FilePartyId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[FilePartySelectByFilePartyId]";
            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("@FilePartyId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@FilePartyId"].Value = FilePartyId;

            SST.FilePartyDataTable dt = new SST.FilePartyDataTable();
            Fill(dt);
            return(dt);
        }