public static List <REGISTRY_CORE_DATA> GetItemsByRegistry(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID)
        {
            List <REGISTRY_CORE_DATA> objReturn = null;
            REGISTRY_CORE_DATADB      objDB     = new REGISTRY_CORE_DATADB();

            objReturn = objDB.GetItemsByRegistry(CURRENT_USER, CURRENT_REGISTRY_ID);

            return(objReturn);
        }
Beispiel #2
0
        public static Boolean Delete(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 CORE_DATA_ID)
        {
            Boolean objReturn          = false;
            REGISTRY_CORE_DATADB objDB = new REGISTRY_CORE_DATADB();

            objReturn = objDB.Delete(CURRENT_USER, CURRENT_REGISTRY_ID, CORE_DATA_ID);

            return(objReturn);
        }
        public static REGISTRY_CORE_DATA GetItemByRegistryCore(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 CORE_TYPE_ID)
        {
            REGISTRY_CORE_DATA   objReturn = null;
            REGISTRY_CORE_DATADB objDB     = new REGISTRY_CORE_DATADB();

            objReturn = objDB.GetItemByRegistryCore(CURRENT_USER, CURRENT_REGISTRY_ID, CORE_TYPE_ID);

            return(objReturn);
        }
Beispiel #4
0
        public static Int32 Save(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, REGISTRY_CORE_DATA objSave)
        {
            Int32 objReturn            = 0;
            REGISTRY_CORE_DATADB objDB = new REGISTRY_CORE_DATADB();

            objReturn = objDB.Save(CURRENT_USER, CURRENT_REGISTRY_ID, objSave);

            return(objReturn);
        }
        public static Boolean SaveList(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, List <REGISTRY_CORE_DATA> cores)
        {
            if (cores == null)
            {
                return(false);
            }

            Boolean objReturn          = false;
            REGISTRY_CORE_DATADB objDB = new REGISTRY_CORE_DATADB();

            objReturn = objDB.SaveList(CURRENT_USER, CURRENT_REGISTRY_ID, cores);

            return(objReturn);
        }