﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataConnector.SQL
{
    [Obsolete("Not used by SqlDataBackend, use the backend-agnostic " + nameof(StoredDataAttribute) + " instead.", true)]
	[AttributeUsage (AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
	public sealed class SqlFieldAttribute : Attribute
	{
        // See the attribute guidelines at
        //  http://go.microsoft.com/fwlink/?LinkId=85236

        public SqlFieldAttribute()
        { }

		public string ColumnName { get; set; }

		public DbType DataType { get; set; }
	}
}
