Imports System.Runtime.Serialization

Namespace Methods.Database.GetDatatableFromCache
    <Serializable>
    <DataContract>
    Public Class GetDatatableFromCacheResponse
        Inherits Messages.BaseResponse

        <DataMember>
        Public Property Table As DataTable

        Public Sub New(pTable As DataTable)
            MyBase.New()
            Table = pTable
        End Sub

        Public Sub New(pException As Exception, Optional pDetails As String = "")
            MyBase.New(pException, pDetails)
        End Sub
    End Class

End Namespace
