Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TdsDataColumn.cs « Mono.Data.Tds.Protocol « Mono.Data.Tds « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4d0ae9d6a767416dab4f2ba37a54935f8498884d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// System.Data.Common.TdsDataColumn.cs
//
// Author:
//   Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//

using System.Collections;

namespace Mono.Data.Tds.Protocol {
	public class TdsDataColumn : Hashtable
	{
		#region Constructors

		public TdsDataColumn ()
		{
			SetDefaultValues ();
		}

		#endregion // Constructors

		#region Methods

		private void SetDefaultValues ()
		{
			Add ("AllowDBNull", true);
			Add ("ColumnOrdinal", 0);
			Add ("IsAutoIncrement", false);
			Add ("IsIdentity", false);
			Add ("IsReadOnly", false);
			Add ("IsRowVersion", false);
		}

		#endregion // Methods
	}
}