Advertisement
NAK

ExecuteSqlDataReader Parameter Class (C#)

NAK
Dec 4th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6.  
  7. namespace ConsoleApplication1
  8. {
  9.     class Parameter
  10.     {
  11.         private string _Name;
  12.         private Object _Value;
  13.         private SqlDbType _SqlDbType;
  14.         private ParameterDirection _Direction;
  15.  
  16.         public string Name
  17.         {
  18.             get { return _Name; }
  19.             set { _Name = value; }
  20.         }
  21.  
  22.         public Object Value
  23.         {
  24.             get { return _Value; }
  25.             set { _Value = value; }
  26.         }
  27.  
  28.         public SqlDbType SqlDbType
  29.         {
  30.             get { return _SqlDbType; }
  31.             set { _SqlDbType = value; }
  32.         }
  33.  
  34.         public ParameterDirection Direction
  35.         {
  36.             get { return _Direction; }
  37.             set { _Direction = value; }
  38.         }
  39.     }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement