Business Logic Toolkit for .NET
www.bltoolkit.net
|  Home   |  Download   |  Documentation   |  Discussions   |  License   |

  Source.DataAccess.ParamDbTypeAttribute.cs

 
using System;
using System.Data;

namespace BLToolkit.DataAccess
{
    [AttributeUsage(AttributeTargets.Parameter)]
    public class ParamDbTypeAttribute : Attribute
    {
        public ParamDbTypeAttribute(DbType dbType)
        {
            _dbType = dbType;
        }

        private readonly DbType _dbType;
        public           DbType  DbType
        {
            get { return _dbType; }
        }
    }
}
 
© 2010 www.bltoolkit.net
support@bltoolkit.net