Example #1
0
        /// <summary>
        /// </summary>
        /// <param name="db"></param>
        /// <param name="idProject"></param>
        /// <param name="idParent"></param>
        /// <param name="debug"></param>
        internal static void setVisibilita(/*DocsPaWS.Utils.Database db,*/ string idProject, string idParent)
        {
            #region Codice Commentato

            /*string insertStr =
             *      "INSERT INTO SECURITY (THING, PERSONORGROUP, ACCESSRIGHTS, ID_GRUPPO_TRASM, CHA_TIPO_DIRITTO) " +
             *      "(SELECT " + idProject + ", PERSONORGROUP, ACCESSRIGHTS, ID_GRUPPO_TRASM, CHA_TIPO_DIRITTO FROM SECURITY WHERE THING=" + idParent + ")";
             * logger.Debug(insertStr);
             * db.executeNonQuery(insertStr);*/
            #endregion

            DocsPaDB.Query_DocsPAWS.Fascicoli fascicoli = new DocsPaDB.Query_DocsPAWS.Fascicoli();
            fascicoli.SetVisibilita(idProject, idParent);
            fascicoli.Dispose();
        }