Example #1
0
        public ActivityConfig.ACTaskTypeDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            ActivityConfig.ACTaskTypeDataTable dt = new ActivityConfig.ACTaskTypeDataTable();
            Fill(dt);
            return(dt);
        }
Example #2
0
        public ActivityConfig.ACTaskTypeDataTable Load(string ACTaskTypeCode)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ACTaskTypeSelectByACTaskTypeCode]";
            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("@ACTaskTypeCode", System.Data.SqlDbType.NVarChar, 2, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));

            this.sqlSelect.Parameters["@ACTaskTypeCode"].Value = ACTaskTypeCode;

            ActivityConfig.ACTaskTypeDataTable dt = new ActivityConfig.ACTaskTypeDataTable();
            Fill(dt);
            return(dt);
        }
Example #3
0
 internal ACTaskTypeBE(ACManager pBEMng)
     : base(pBEMng, pBEMng.DB.ACTaskType)
 {
     myA            = pBEMng;
     myACTaskTypeDT = (ActivityConfig.ACTaskTypeDataTable)myDT;
 }