view Source/DataAccess/CommandBehaviorAttribute.cs @ 2:79a04c6442bf

file name case fix
author cin
date Fri, 22 Aug 2014 13:41:57 +0400
parents f990fcb411a9
children
line wrap: on
line source

using System;
using System.Data;

namespace BLToolkit.DataAccess
{
	[AttributeUsage(AttributeTargets.Method)]
	public class CommandBehaviorAttribute : Attribute
	{
		public CommandBehaviorAttribute()
		{
			_commandBehavior = CommandBehavior.Default;
		}

		public CommandBehaviorAttribute(CommandBehavior commandBehavior)
		{
			_commandBehavior = commandBehavior;
		}

		private CommandBehavior _commandBehavior;
		public  CommandBehavior  CommandBehavior
		{
			get { return _commandBehavior;  }
			set { _commandBehavior = value; }
		}
	}
}