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

  Source.DataAccess.ObjectTypeAttribute.cs

 
using System;

namespace BLToolkit.DataAccess
{
    [JetBrains.Annotations.BaseTypeRequired(typeof(DataAccessor))]
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class ObjectTypeAttribute : Attribute
    {
        public ObjectTypeAttribute(Type objectType)
        {
            _objectType = objectType;
        }

        private readonly Type _objectType;
        public           Type  ObjectType
        {
            get { return _objectType; }
        }
    }
}
 
© 2010 www.bltoolkit.net
support@bltoolkit.net