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

OleDbCommandBuilder.cs « System.Data.OleDb « System.Data « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 60a3d4e5e682062e2e596324f10faa73bbe590f2 (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
39
40
41
42
//
// System.Data.OleDb.OleDbCommandBuilder
//
// Author:
//   Rodrigo Moya (rodrigo@ximian.com)
//
// Copyright (C) Rodrigo Moya, 2002
//

using System.ComponentModel;
using System.Data;
using System.Data.Common;

namespace System.Data.OleDb
{
	/// <summary>
	/// Provides a means of automatically generating single-table commands used to reconcile changes made to a DataSet with the associated database. This class cannot be inherited.
	/// </summary>
	public sealed class OleDbCommandBuilder : Component
	{
		private OleDbDataAdapter m_adapter = null;
		
		public OleDbCommandBuilder ()
		{
		}

		public OleDbCommandBuilder (OleDbDataAdapter adapter) : this ()
		{
			m_adapter = adapter;
		}

		public OleDbDataAdapter DataAdapter
		{
			get {
				return m_adapter;
			}
			set {
				m_adapter = value;
			}
		}
	}
}