public CLAS.ActivityAttributionDataTable Load() { this.sqlDa.SelectCommand = sqlSelectAll; CLAS.ActivityAttributionDataTable dt = new CLAS.ActivityAttributionDataTable(); Fill(dt); return(dt); }
public CLAS.ActivityAttributionDataTable LoadByFileID(int FileID) { this.sqlDa.SelectCommand = sqlSelect; this.sqlSelect.Parameters.Clear(); this.sqlSelect.CommandText = "[ActivityAttributionSelectByFileID]"; 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; CLAS.ActivityAttributionDataTable dt = new CLAS.ActivityAttributionDataTable(); Fill(dt); return(dt); }
internal ActivityAttributionBE(CLASManager pBEMng) : base(pBEMng, pBEMng.DB.ActivityAttribution) { myA = pBEMng; myActivityAttributionDT = (CLAS.ActivityAttributionDataTable)myDT; }