Mercurial > pub > bltoolkit
view Source/DataAccess/ObjectTypeAttribute.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
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; } } } }