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

            ActivityConfig.ACSeriesTypeDataTable dt = new ActivityConfig.ACSeriesTypeDataTable();
            Fill(dt);
            return(dt);
        }
示例#2
0
        public ActivityConfig.ACSeriesTypeDataTable Load(int ACSeriesTypeId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ACSeriesTypeSelectByACSeriesTypeId]";
            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("@ACSeriesTypeId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));

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

            ActivityConfig.ACSeriesTypeDataTable dt = new ActivityConfig.ACSeriesTypeDataTable();
            Fill(dt);
            return(dt);
        }
示例#3
0
 internal ACSeriesTypeBE(ACManager pBEMng) : base(pBEMng, pBEMng.DB.ACSeriesType)
 {
     myA = pBEMng;
     myACSeriesTypeDT = (ActivityConfig.ACSeriesTypeDataTable)myDT;
 }