public static void DeleteFileInfo(FileMasterType masterType, int masterID, string categoryName)
        {
            DataCommand cmd = new DataCommand("DeleteOthersFileInfo");

            cmd.SetParameter("@MasterType", DbType.Int32, (int)masterType);
            cmd.SetParameter("@MasterID", DbType.Int32, masterID);
            cmd.SetParameter("@CategoryName", DbType.String, categoryName);
            cmd.ExecuteNonQuery();
        }
示例#2
0
 public static void DeleteFileInfo(FileMasterType type, int masterID, string categoryName)
 {
     CommonDA.DeleteFileInfo(type, masterID, categoryName);
 }