Click here to Skip to main content
15,881,248 members
Articles / Web Development / ASP.NET

ASP.NET/AJAX 3.5 With Aquarium Express

Rate me:
Please Sign up or sign in to vote.
3.60/5 (7 votes)
18 Sep 2008Ms-PL12 min read 35.7K   954   29  
Learn to build modern AJAX and ASP.NET 3.5 applications with free Aquarium Express Framework
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel

Namespace MyCompany.Data
    
    Public Class SelectClauseDictionary
        Inherits SortedDictionary(Of String, String)
    End Class
    
    Public Interface IDataController
        
        Function GetPage(ByVal controller As String, ByVal view As String, ByVal request As PageRequest) As ViewPage
        
        Function GetListOfValues(ByVal controller As String, ByVal view As String, ByVal request As DistinctValueRequest) As Object()
        
        Function Execute(ByVal controller As String, ByVal view As String, ByVal args As ActionArgs) As ActionResult
    End Interface
    
    Public Interface IActionHandler
        
        Sub BeforeSqlAction(ByVal args As ActionArgs, ByVal result As ActionResult)
        
        Sub AfterSqlAction(ByVal args As ActionArgs, ByVal result As ActionResult)
        
        Sub ExecuteAction(ByVal args As ActionArgs, ByVal result As ActionResult)
    End Interface
    
    Public Enum CommandConfigurationType
        
        [Select]
        
        Update
        
        Insert
        
        Delete
        
        SelectCount
        
        SelectDistinct
        
        None
    End Enum
End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Organisation

1 members

Comments and Discussions