view Source/DataAccess/ObjectTypeAttribute.cs @ 7:99cd4f3947d8

Закомментированы строки мешающие добавлению авиа дежурств.
author nickolay
date Fri, 27 Oct 2017 18:26:29 +0300
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; }
		}
	}
}