public SST.FilePartyDataTable Load() { this.sqlDa.SelectCommand = sqlSelectAll; SST.FilePartyDataTable dt = new SST.FilePartyDataTable(); Fill(dt); return(dt); }
internal FilePartyBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.FileParty) { myA = pBEMng; myFilePartyDT = (SST.FilePartyDataTable)myDT; if (myODAL == null) { myODAL = myA.AtMng.DALMngr.GetFileParty(); } }
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); }