view Source/DataAccess/FormatAttribute.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line source

using System;

namespace BLToolkit.DataAccess
{
	[AttributeUsage(AttributeTargets.Parameter)]
	public class FormatAttribute : NoMapAttribute
	{
		public FormatAttribute()
		{
			_index = int.MaxValue;
		}

		public FormatAttribute(int index)
		{
			_index = index;
		}

		private readonly int _index;
		public           int  Index
		{
			get { return _index; }
		}
	}
}