public atriumDB.AKADataTable Load() { this.sqlDa.SelectCommand = sqlSelectAll; atriumDB.AKADataTable dt = new atriumDB.AKADataTable(); Fill(dt); return(dt); }
public atriumDB.AKADataTable LoadByFileId(int FileId) { this.sqlDa.SelectCommand = sqlSelect; this.sqlSelect.Parameters.Clear(); this.sqlSelect.CommandText = "[AKASelectByFileId]"; 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("@FileId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); this.sqlSelect.Parameters["@FileId"].Value = FileId; atriumDB.AKADataTable dt = new atriumDB.AKADataTable(); Fill(dt); return(dt); }
internal AKABE(FileManager pBEMng) : base(pBEMng, pBEMng.DB.AKA) { myA = pBEMng; myAKADT = (atriumDB.AKADataTable)myDT; }