Exemple #1
0
 public static List <UploadQueue> GetUploadQueueList()
 {
     return(EVSDatabase.Fetch <UploadQueue>("SELECT * FROM [dbo].[UploadQueue]"));
 }
Exemple #2
0
 public static List <Status> GetStatuses(string fileId, string userId)
 {
     return(EVSDatabase.Fetch <Status>("SELECT * FROM [dbo].[Status] WHERE [FileID] = @0 AND [UserID] = @1", fileId, userId));
 }
Exemple #3
0
        //read

        public static List <ExtensionDetail> GetExtensionDetailList(int extensionId)
        {
            return(EVSDatabase.Fetch <ExtensionDetail>("SELECT * FROM [dbo].[ExtensionDetail] WHERE ExtensionID = @0", extensionId));
        }
Exemple #4
0
        //create

        //read

        public static List <MessageType> GetMessageTypeList()
        {
            return(EVSDatabase.Fetch <MessageType>("SELECT * FROM [dbo].[MessageType]"));
        }
 public static List <ExtensionMessage> GetExtensionMessageList(int extensionId, int messageTypeId)
 {
     return(EVSDatabase.Fetch <ExtensionMessage>("SELECT * FROM [dbo].[ExtensionMessage] WHERE ExtensionID = @0 AND MessageTypeID = @1", extensionId, messageTypeId));
 }