Advertisement
NAK

ExecuteSqlDataReader Parameter Class (VB.NET)

NAK
Dec 3rd, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 1.00 KB | None | 0 0
  1. Public Class Parameter
  2.  
  3.     Private _Name As String
  4.     Private _Value As Object
  5.     Private _SqlDbType As SqlDbType
  6.     Private _Direction As ParameterDirection
  7.  
  8.     Public Property Name() As String
  9.         Get
  10.             Return _Name
  11.         End Get
  12.         Set(ByVal value As String)
  13.             _Name = value
  14.         End Set
  15.     End Property
  16.  
  17.     Public Property Value() As Object
  18.         Get
  19.             Return _Value
  20.         End Get
  21.         Set(ByVal value As Object)
  22.             _Value = value
  23.         End Set
  24.  
  25.     End Property
  26.  
  27.     Public Property SqlDbType() As SqlDbType
  28.         Get
  29.             Return _SqlDbType
  30.         End Get
  31.         Set(ByVal value As SqlDbType)
  32.             _SqlDbType = value
  33.         End Set
  34.     End Property
  35.  
  36.     Public Property Direction() As ParameterDirection
  37.         Get
  38.             Return _Direction
  39.         End Get
  40.         Set(ByVal value As ParameterDirection)
  41.             _Direction = value
  42.         End Set
  43.     End Property
  44.  
  45. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement