Public Class Constants
    Public Const DEFAULT_SERVICE_PORT = 9000
    Public Const INVALID_OBEJCT_ID As Long = 0

    Public Enum DatabaseType
        None
        ECM
        IDB
    End Enum

    Public Enum AttributeType
        Varchar = 1
        BigInteger = 2
        Float = 3
        [Decimal] = 4
        [Date] = 5
        [DateTime] = 6
        Bit = 7
        VectorString = 8
        VectorInteger = 9
    End Enum

    Public Class AttributeTypeName
        Public Const VARCHAR = "VARCHAR"
        Public Const BIG_INTEGER = "BIG INTEGER"
        Public Const FLOAT = "FLOAT"
        Public Const [DECIMAL] = "DECIMAL"
        Public Const [DATE] = "DATE"
        Public Const [DATETIME] = "DATETIME"
        Public Const BIT = "BIT"
        Public Const VECTOR_STRING = "VECTOR STRING"
        Public Const VECTOR_INTEGER = "VECTOR INTEGER"
    End Class

    ''' <summary>
    '''  Infos about MaxBufferSize and MaxBufferPoolSize
    '''  https://social.msdn.microsoft.com/Forums/vstudio/en-US/d6e234d3-942f-4e9d-8470-32618d3f3212/maxbufferpoolsize-vs-maxbuffersize?forum=wcf
    ''' </summary>
    Public Class ChannelSettings
        Public Const MAX_RECEIVED_MESSAGE_SIZE = 2147483647 ' 1GB
        Public Const MAX_BUFFER_SIZE = 104857600 ' 100MB
        Public Const MAX_BUFFER_POOL_SIZE = 1048576 ' 1MB

        Public Const MAX_CONNECTIONS = 500
        Public Const MAX_ARRAY_LENGTH = 2147483647
        Public Const MAX_STRING_CONTENT_LENGTH = 2147483647
    End Class

End Class
