**** Merged from MCS ****
[mono-project.git] / mcs / class / Mono.Data.PostgreSqlClient / Mono.Data.PostgreSqlClient / PgSqlCommandBuilder.cs
blobf19151f276400ce8cecbe69cdaec4052bbd7d4f2
1 //
2 // Mono.Data.PostgreSqlClient.PgSqlCommandBuilder.cs
3 //
4 // Author:
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Daniel Morgan (danmorg@sc.rr.com)
7 //
8 // (C) Ximian, Inc 2002
9 //
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
19 //
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
22 //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 using System;
33 using System.Data;
34 using System.ComponentModel;
36 namespace Mono.Data.PostgreSqlClient {
38 /// <summary>
39 /// Builder of one command
40 /// that will be used in manipulating a table for
41 /// a DataSet that is assoicated with a database.
42 /// </summary>
43 public sealed class PgSqlCommandBuilder : Component {
45 [MonoTODO]
46 public PgSqlCommandBuilder() {
50 [MonoTODO]
51 public PgSqlCommandBuilder(PgSqlDataAdapter adapter) {
55 [MonoTODO]
56 public PgSqlDataAdapter DataAdapter {
57 get {
58 throw new NotImplementedException ();
61 set{
62 throw new NotImplementedException ();
66 [MonoTODO]
67 public string QuotePrefix {
68 get {
69 throw new NotImplementedException ();
72 set {
73 throw new NotImplementedException ();
77 [MonoTODO]
78 public string QuoteSuffix {
79 get {
80 throw new NotImplementedException ();
83 set {
84 throw new NotImplementedException ();
88 [MonoTODO]
89 public static void DeriveParameters(PgSqlCommand command) {
90 throw new NotImplementedException ();
93 [MonoTODO]
94 public PgSqlCommand GetDeleteCommand() {
95 throw new NotImplementedException ();
98 [MonoTODO]
99 public PgSqlCommand GetInsertCommand() {
100 throw new NotImplementedException ();
103 [MonoTODO]
104 public PgSqlCommand GetUpdateCommand() {
105 throw new NotImplementedException ();
108 [MonoTODO]
109 public void RefreshSchema() {
110 throw new NotImplementedException ();
113 [MonoTODO]
114 protected override void Dispose(bool disposing) {
115 throw new NotImplementedException ();
118 [MonoTODO]
119 ~PgSqlCommandBuilder() {
120 // FIXME: create destructor - release resources