예제 #1
0
        public int Delete(Int64 ID)
        {
            String           Query = "DELETE FROM Final_Table SET WHERE ID = @ID";
            OleDbDataManager oDm   = new OleDbDataManager(ConnectionString, Query, true);

            oDm.AddIntegerBigPara("ID", ID);
            //oDm.AddVarcharPara("UPC", 4000, UPC);
            //oDm.AddVarcharPara("VDR_PART", 4000, VDR_PART);
            //oDm.AddVarcharPara("VDR_IT_DSC", 4000, VDR_IT_DSC);
            //oDm.AddVarcharPara("Image_Folder", 4000, Image_Folder);
            //oDm.AddVarcharPara("AID_SOURCE_ID", 4000, AID_SOURCE_ID);
            //oDm.AddVarcharPara("AID_PART", 4000, AID_PART);
            //oDm.AddDecimalPara("AID_COST", 2, 10, AID_COST);
            //oDm.AddVarcharPara("AID_IMG1", 4000, AID_IMG1);
            //oDm.AddVarcharPara("AID_IMG2", 4000, AID_IMG2);
            //oDm.AddVarcharPara("AID_VENDOR", 4000, AID_VENDOR);
            //oDm.AddVarcharPara("AID_INV", 4000, AID_INV);
            //oDm.AddVarcharPara("AID_LastUpdate", 4000, AID_LastUpdate);
            return(oDm.RunActionQuery());
        }