//create

        public static void AddExtensionMessage(ExtensionMessage extensionMessage)
        {
            try
            {
                EVSDatabase.Insert("ExtensionMessage", "ExtensionMessageID", true, extensionMessage);
            }
            catch //(Exception exc)
            {
                Trace.WriteLine("Could not add message to database", extensionMessage.Message);
            }
        }
Beispiel #2
0
        //create

        public static void AddItemToQueue(UploadQueue queue)
        {
            EVSDatabase.Insert("UploadQueue", "UploadQueueID", true, queue);

            UpdateItemQueueStatus();
        }
Beispiel #3
0
        //create

        public static void AddStatus(Status status)
        {
            EVSDatabase.Insert("Status", "StatusID", true, status);
        }
        //create

        public static void AddExtension(Extension extension)
        {
            EVSDatabase.Insert("Extension", "ExtensionID", true, extension);
        }
Beispiel #5
0
        //create

        public static void AddExtensionDetail(ExtensionDetail extensionDetail)
        {
            EVSDatabase.Insert("ExtensionDetail", "ExtensionDetailID", true, extensionDetail);
        }