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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
|
2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
* list: added missing PostgresTypes.cs file.
2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
* System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
methods.
2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlConnection.cs: modifed -
start to implement the interfaces properly and
properly doing a Close(), Dispose(), and
releasing resources
* Test/SqlSharpCli.cs: modified -
add support for MySQL in Mono.Data.MySql
and OleDb support in System.Data.OleDb. However,
the OleDb support is commented right now.
When the program starts up, a shorter help menu should
display the most important commands: help and quit
2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.build: exclude System.Data.OleDb files.
2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlCommand.cs: typo
should be CommandBehavior.KeyInfo
* Test/SqlSharpCli.cs: refactored and added a few more
features.
2002-05-27 Tim Coleman <tim@timcoleman.com>
* list: update to compile properly (add missing
files and switch path delimiter from '\' to '/').
2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRow.cs
* System.Data.Common/DbDataAdapter.cs: fix to
get Test/TestSqlDataAdapter.cs to work again
* Test/TestSqlDataAdapter.cs: removed comment
about SqlDataReader:NextResult() not being implemented; it
bas been implemented
2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRow.cs: modified
support setting of DBNull.Value
using the Item indexer this[DataColumn]
* System.Data.SqlClient/SqlCommand.cs: modified
tweaks to show TODO's for other CommandBehavior.
Set AllowDBNull column to true for IsKey row
in schema DataTable.
* System.Data.SqlClient/SqlConnection.cs: modified
if transaction is in progress when a Close() is called,
do a transaction Rollback.
2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
* Test/SqlSharpCli.cs: added file
My new toy. SQL# is a command-line tool to enter
SQL commands and queries using Mono System.Data.
It also serves as a test for Mono System.Data.
* System.Data.SqlClient/SqlCommand.cs: modified
- ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
should handle the results from SQL Commands and Queries.
- Internal class SqlResult should not create schema Table
for the result from a SQL Command. Also, set the RecordsRetrieved
property for SqlDataReader.
- Closing the SqlDataReader should Close() the SqlConnection for
a CommandBehavior.CloseConnection.
- Set defaults for SqlResult
* System.Data.SqlClient/SqlConnection.cs: modified -
when SqlDataReader is Close()
should Close() the SqlConnection for
a CommandBehavior.CloseConnection. Changed internal Property
from OpenReader get/set to IsReaderOpen get and created
internal methods OpenReader()/CloseReader() for SqlCommand to call.
SqlConnection needs to be prevented from doing while SqlDataReader
is being used.
* System.Data.SqlClient/SqlDataReader.cs: modified -
call SqlCommand's OpenReader() internal method. get
RecordsRetrieved from SqlResult. set/reset default
values for SqlDataReader.
* Test/PostgresTest.cs
* Test/TestExecuteScalar.cs
* Test/TestSqlDataReader.cs: modified
for the Execute...() methods in SqlCommand
to test SQL Queries and Commands
* Test/System.Data_test.build: modified
exclude new file Test/SqlSharpCli.cs from
test build
2002-05-24 Tim Coleman <tim@timcoleman.com>
* System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
for get accessors. These should be implemented in derived classes. See
SqlDataAdapter for clues.
* System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
* System.Data.Common/DataAdapter.cs:
* System.Data.Common/DataTableMappingCollection.cs:
* System.Data.Common/DataTableMapping.cs:
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataColumnMapping.cs:
Properly (I hope!) implement all of the appropriate interfaces
for these classes.
2002-05-23 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlClient/SqlCommand.cs: include
the BaseColumnName in the schema table. Was missed before.
* System.Data.Common/DbDataAdapter.cs: Use DataTable
mappings so that the DataSet and DataTable are more closely tied.
Get schema information from the DataTable using GetSchemaTable ()
Various other little fixes
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataTableMapping.cs:
* System.Data.Common/DataTableMappingCollection.cs: Some
implementation, enough to be used by DbDataAdapter.
2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlCommand.cs: set
the "ProviderType" to the PostgreSQL type oid
* System.Data.SqlClient/SqlDataReader.cs: fix
for various properties and methods that
return meta data: Item indexers this[name] and this[index],
GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
should work again.
2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRow.cs: change suggested
by tim: in Item indexer, do an EndEdit()
* System.Data.SqlClient/SqlCommand.cs: more
fixes to SqlResult. After setting each item in
the DataRow, do an AcceptChanges() to commit
the changes in the DataRow. For DataType, use a Type
of System.String since System.Type nor System.Object
seems to work.
* Test/TestSqlDataReader.cs
* Test/PostgresTest.cs: updated to to be on
the way schema table is suppose to work
2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlCommand.cs: more work on
building the schema table
2002-05-22 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlClient/SqlCommand.cs: preliminary work
on getting the schema table correctly built.
2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/ParmUtil.cs: added file - to
provide utility for conversion of input parameters
* System.Data.SqlClient/PostgresTypes.cs: added file -
moved the PostgreHelper class to here. May eventually
move the internal class PostgresTypes that's inside the
SqlConnection to here as well.
Handling of PostgreSQL <-> .NET types need to be though
out more. Also, the PostgreHelper has a method to convert
from .NET types to a string which can be put into used in
an SQL statement to execute against a PostgreSQL database.
This is the beginnings of parameters support. It currently
only supports input parameters. Still need to do output,
input/output, and return parameters.
* Test/TestSqlParameters.cs: new test to test the input
parameters in System.Data.SqlClient against a
PostgreSQL db.
* System.Data.SqlClient/PostgresLibrary.cs: moved
PostgresHelper class to file PostgresTypes.cs. Also
moved struct PostgresType there too.
* System.Data.SqlClient/SqlCommand.cs: added input
parameters support
* System.Data.SqlClient/SqlParameter.cs: got
SqlParameter to work
* System.Data.SqlClient/SqlParameterCollection.cs: got
SqlParameterCollection to work
* Test/System.Data_test.build: added files to exclude
from test build
* System.Data.SqlClient/SqlConnection.cs: release resources
no longer used
2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
* System.Xml: added directory for classes with namespace
System.Xml to go into the System.Data.dll assembly
* System.Xml/XmlDataDocument: added file
for stubbed concrete class XmlDataDocument which
inherits from XmlDocument. Its purpose is to provide
a W3C XML DOM Document for relational data and interacting
with a DataSet
2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
Text, TableDirect, and StoredProcedure
* Test/PostgresTest.cs: changed call to version()
stored procedure to use the CommandType of StoredProcedure
* Test/TestSqlDataReader.cs: test all the CommandTypes
2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: took out all excluded
files except the ones in the Test directory
because all files compile now. It does not
mean they all work or have implementations
though.
* System.Data/DataRelationCollection.cs
* System.Data/DataTableRelationCollection.cs
* System.Data/InternalDataCollectionBase.cs
* System.Data.Common/DbDataPermission.cs
* System.Data.SqlClient/SqlInfoMessageEventArgs.cs
* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
to get all System.Data* files to compile.
* System.Data.SqlClient/SqlCommand.cs: started coding
to prevent SqlConnection and SqlCommand from doing
anyting while fetching data using SqlDataReader. Also,
started coding to undo this prevention once the
SqlDataReader is closed.
* System.Data.SqlClient/SqlConnection.cs: get database server
version. Started coding to prevent connection from
doing anything while fetching data and undo once the reader
is closed. Include events SqlInfoMessage and StateChange.
* System.Data.SqlClient/SqlDataReader.cs: start coding to
prevent connection and command from doing anything while
fetching data, and undo when closed.
* Test/PostgresTest.cs: added test to get ServerVersion
property from SqlConnection
2002-05-18 Tim Coleman <tim@timcoleman.com>
* System.Data/DataRow.cs: More implementation,
as well as boundary checks and small semantic
repairs
2002-05-18 Tim Coleman <tim@timcoleman.com>
* System.Data/DataRow.cs: Try to reduce memory
usage by only creating the original and proposed
arrays as required in BeginEdit, and then destroying
proposed during EndEdit, and original during AcceptChanges.
* System.Data.Common/DbDataAdapter.cs: Make the
startRecord and maxRecords parameters work correctly.
2002-05-18 Tim Coleman <tim@timcoleman.com>
* System.Data/DataRow.cs: Move the null check in
ItemArray set to above the Invalid Cast check, so
that we don't get null reference exceptions.
2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/PostgresLibrary.cs: handle
data value from database being NULL
* System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
allow multiple result sets. Added new internal class
SqlResult to pass result set data from SqlCommand
to SqlDataReader.
* System.Data.SqlClient/SqlDataReader.cs: allow
multiple result sets.
* System.Data.SqlClient/SqlConnection.cs: moved
things around. Implement IDisposable.
* Test/TestSqlDataReader.cs: test for execution
of multiple result sets and display the results
of these multiple results sets
* Test/TestSqlDataAdapter.cs: tweaks
2002-05-17 Tim Coleman <tim@timcoleman.com>
* System.Data.Common/DbDataAdapter.cs:
- More implementation of Fill methods
- Get rid of isDirty flag, because we can just check
if the table exists
- Do *not* remove DataTables before Filling them
- Implicitly open the connection before doing a Fill
if it does not exist.
* System.Data.SqlClient/SqlDataAdapter.cs:
- Minor fixup
* System.Data/DataTableCollection.cs:
- Add DataSet to internal, undocumented constructor
- When a table is created, set its DataSet property
- Default table name for creation is "Table1" (see .NET)
- Inherit the ArrayList list from InternalDataCollecitonBase
and maintain a hashtable between table names and
DataTables
* System.Data/DataTable.cs:
- Add internal dataSet field. This is used by
DataTableCollection when the DataTable is constructed.
* System.Data/DataSet.cs:
- Pass a reference to the DataSet when constructing the
DataTableCollection.
2002-05-16 Tim Coleman <tim@timcoleman.com>
* System.Data.Common/DbDataAdapter.cs:
Use table.Rows.Add (itemArray) instead of
table.Rows.Add (thisRow) to provide better
abstraction.
* System.Data/DataRowCollection.cs:
Some implementation of this class.
* System.Data/InternalDataCollectionBase.cs:
Some implementation. Most notably, this now
has an enumerator so we can use foreach (DataRow row in table.Rows)
in the test classes.
* System.Data/DataTable.cs:
Since DataRowCollection now accepts a DataTable in
its internal constructor, we must pass one in.
2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
* Test/TestSqlDataAdapter.cs: added new test
for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
DataRowCollection, and DataRow. It tests retrieving data
based on a SQL SELECT query. This test is based on Tim Coleman's
test he sent to me.
2002-05-16 Tim Coleman <tim@timcoleman.com>
* System.Data.Common/DbDataAdapter.cs:
Use table.Rows.Add (thisRow) instead of
table.ImportRow (thisRow)
* System.Data/DataRowCollection.cs:
Construct the ArrayList before using it
2002-05-16 Tim Coleman <tim@timcoleman.com>
* System.Data/DataTable.cs:
Construct the DataRowCollection in the DataTable
constructor. Otherwise, it's a null reference.
2002-05-16 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlClient/SqlDataReader.cs:
Modify GetValues to use Array.Copy() to copy
the results from fields to values, rather than
an assignment, which results in loss of data.
2002-05-16 Tim Coleman <tim@timcoleman.com>
* System.Data/DataRow.cs:
More implementation and documentation. It should
work more like expected, although there is no way
to demonstrate this well yet. DataTable requires
more work.
2002-05-15 Tim Coleman <tim@timcoleman.com>
* System.Data/DataRow.cs:
Minor tweaks as I determine exactly how to
implement this class.
2002-05-14 Duncan Mak <duncan@ximian.com>
* System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
2002-05-14 Tim Coleman
* System.Data/DataRow.cs:
* System.Data/DataRowBuilder.cs:
* System.Data/DataTable.cs:
More implementation of these classes. DataRow
can now (possibly) do some useful things.
Still not sure what DataRowBuilder is all about,
other than passing a DataTable in.
2002-05-14 Tim Coleman
* System.Data/DataRowBuilder.cs:
Add stubb for this internal class.
2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
The maxRecords check was not correct.
2002-05-13 Tim Coleman
* System.Data/DataTableCollection.cs:
Fix an issue when adding a DataTable and size == 0.
Now explicitly checks if size > 0 before doing Array.Copy ()
* System.Data.Common/DbDataAdapter.cs:
Move closer to a working implementation.
Make the IDbCommand fields protected so that they can
be inherited.
* System.Data.SqlClient/SqlDataAdapter.cs:
This should inherit the IDbCommands instead of having its
own. An explicit cast is used to force conversion between
IDbCommand and SqlCommand
2002-05-13 Tim Coleman
* System.Data.Common/DataTableMappingCollection.cs:
Some implementation to allow progress with DbDataAdapter
2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
Modify to not break compile.
2002-05-13 Tim Coleman
* System.Data.build:
include SqlDataAdapter, SqlRowUpdatedEventArgs,
SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
SqlRowUpdatingEventHandler in the build.
2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
More implementation.
* System.Data.Common/DataAdapter.cs:
Correction of some of the stubbing, as well as a
little bit more implementation
2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
* System.Data.Common/DbDataAdapter.cs:
Moved methods that weren't supposed to
be in SqlDataAdapter out. They should be implemented
in DbDataAdapter.
2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
some implementation of this class. Note
that none of the functionality has been
tested yet, but I felt it should be checked
in at this point as it compiles.
* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
Modified so that they will compile properly.
Needed to include SqlDataAdapter in the build.
2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataTable.cs (Clear): implemented.
(DataTable): removed repeated code in constructors, and call the
basic constructor from the others.
* System.Data/DataColumn.cs: some tweaks.
* System.Data/DataRow.cs (RowState): implemented.
(CancelEdit): set rowState property back to Unchanged.
(RejectChanges): call CancelEdit.
(Delete): set rowState to Deleted.
2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: added copy of System.Data.dll to Test directory
for easy testing. Also, added clean for it too.
* System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
from PostgreSQL data type to .NET type.
* System.Data.SqlClient/SqlDataReader.cs: beginnings
handling of a NULL value from the database
* Test/PostgresTest.cs: added tests for NULL values retrieved
from the database
* Test/ReadPostgresData.cs
* Test/TestExecuteScalar.cs
* Test/TestSqlDataReader.cs
* Test/TestSqlException.cs
* Test/TestSqlIsolationLevel.cs: updated tests to use databas user
"postgres". These tests may eventually be removed since they
are not flexible.
2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.build: removed reference to non-existant
TestDataColumn.cs file.
* System.Data/DataSet.cs: added some implementation.
2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/PostgresLibrary.cs: got
PostgreSQL data types time, date, timestamp (DateTime like)
mapped to .NET System.DateTime working based
on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
Also mapped pg type boolean to .net Boolean
* SqlClient/SqlConnection.cs: run SQL command to set
Date style to ISO
* Test/PostgresTest.cs: added test for an UPDATE SQL command,
added tests for aggregates min(), max(), sum(), count(). could
not get avg() to work due to some formatting error; someone claimed
that it was my locale settings. added tests for SELECT of columns
of type boolean, float, double, date, time, and timestamp. They
have not been fully tested, but its a start.
2002-05-09 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlTypes/SqlDecimal.cs: Implementations of
addition, subtraction, and multiplication for the
SqlDecimal type, as well as modification of some other
operations. More to come on this one.
2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
* Test/System.Data_test.build: excluded TestDataColumn, which
should be replaced with a nunit test.
* Test/TestDataColumn.cs: added basic test for DataColumn.cs.
2002-05-07 Tim Coleman <tim@timcoleman.com>
* SqlBinary.cs:
* SqlBoolean.cs:
* SqlByte.cs:
* SqlDateTime.cs:
* SqlDecimal.cs:
* SqlDouble.cs:
* SqlGuid.cs:
* SqlInt16.cs:
* SqlInt32.cs:
* SqlInt64.cs:
* SqlMoney.cs:
* SqlSingle.cs:
* SqlString.cs:
Fix the broken build I made before. Bad
me.
2002-05-07 Tim Coleman <tim@timcoleman.com>
* SqlString.cs:
Fix a symantic error I made in SqlString
Equals where I copied and pasted wrongly
2002-05-07 Tim Coleman <tim@timcoleman.com>
* INullable.cs:
* SqlBinary.cs:
* SqlBoolean.cs:
* SqlByte.cs:
* SqlCompareOptions.cs:
* SqlDateTime.cs:
* SqlDecimal.cs:
* SqlDouble.cs:
* SqlGuid.cs:
* SqlInt16.cs:
* SqlInt32.cs:
* SqlInt64.cs:
* SqlMoney.cs:
* SqlSingle.cs:
* SqlString.cs:
Implement CompareTo, Equals, and String conversions
for many types
2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
* Test/PostgresTest.cs: modified to run completely. There
are many TODOs in System.Data, so not all data types are
included in the SELECT SQL query. Also, I made it to where
it would connect
using "host=localhost;dbname=test;user=postgres"
instead of my userid and password. When more types are included,
update this test.
2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
* Test/PostgresTest.cs: added - ported
libgda postgres-test.c originally by
Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
to C#.
2002-05-05 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDateTime.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs:
* System.Data.SqlTypes/SqlString.cs:
More implementation, and code clean-up for consistency.
Also, I had implemented many conversions as explicit
that should have been implicit. This should remove
many of the red X's and green pluses from the
System.Data.SqlTypes namespace.
2002-05-05 Miguel de Icaza <miguel@ximian.com>
* System.Data/DataSet.cs: Remove [Serializable] attributes from
methods, those only apply to structs or classes.
Stub out ISerializable, ISupportInitialize, and IListSource methods
* System.Data/DataRowView.cs: Stub out interface methods for
IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
* System.Data/DataView.cs: Comment out non-implemented
interfaces.
* System.Data/DataViewSettingsCollection.cs: Type cast variables
to the correct type to make it compile.
* System.Data/DataViewSettings.cs: remove reference to
non-existance type ApplyDefaultSort, it is a boolean.
2002-05-05 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs:
* System.Data.SqlTypes/SqlString.cs:
Various fixes, including adding the SqlNullValueException
when trying to retrieve the value of a null SqlType,
and when casting values, a Null of type A converts to a
Null of type B.
2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/PostgresLibrary.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlDataReader.cs
oid should not be hard coded because they
can change from one version of PostgreSQL
to the next. Use the typname's instead.
The PostgreSQL type data retrieves
at database connection time. Any unimplemented
types just default to string. These were things
suggested by Gonzalo.
* Test/ReadPostgresData.cs - stuff
* Test/TestSqlDataReader.cs - stuff
* System.Data.SqlTypes/SqlInt32.cs - added a using
2002-05-03 Tim Coleman <tim@timcoleman.com>
* System.Data.build: Fix the build so that test depends on build
2002-05-03 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDateTime.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs:
These files were mysteriously excluded from the last
patch I made and sent to Rodrigo
* System.Data.build: include the System.Data.SqlTypes in the build
2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: removed comments
* System.Data.SqlClient/PostgresLibrary.cs: changed
the hard-coded PostgreSQL oid type int's to using an
enum. Also, added PostgreSQL bpchar (character) type.
* Test/TestSqlDataReader.cs: updated test
to include new bpchar PostgreSQL type
2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs: more implementation, by
Tim Coleman <tcoleman@opentext.com>.
2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
* Test/TestExecuteScalar.cs: added test for
method ExecuteScalar in class SqlCommand.
* System.Data/DataColumnCollection.cs - it should
inherit properties from base InternalDataCollectionBase
and use them instead of overriding them, such as, List.
* System.Data/DataColumn.cs
* System.Data/DataTable.cs: tweaks to retrieve
meta data from the database
* System.Data.SqlClient/PostgresLibrary.cs -
added method OidToType to convert PostgreSQL oid type
to System.Type. Renamed method OidTypeToSystem
to ConvertPgTypeToSystem for converting the data value
from a PostgreSQL type to a .NET System type.
* System.Data.SqlClient/SqlCommand.cs: implemented
method ExecuteReader which returns a SqlDataReader
for a light forward only read only result set.
It works on types int4 ==> Int32 and
varchar ==> String. Other types
will come later.
* System.Data.SqlClient/SqlConnection.cs: added comment
* System.Data.SqlClient/SqlDataReader.cs: implemented
class. It works, but still lots to do.
* Test/ReadPostgresData.cs: stuff
* Test/TestSqlDataReader.cs: updated test for SqlDataReader
to display meta data and the data
2002-05-03 Duncan Mak <duncan@ximian.com>
* TODO: Took out all the Exceptions. They should be all done now.
* System.Data/ConstraintException.cs:
* System.Data/DBConcurrencyException.cs:
* System.Data/DataException.cs:
* System.Data/DeletedRowInaccessibleException.cs:
* System.Data/DuplicateNameException.cs:
* System.Data/EvaluateException.cs:
* System.Data/InRowChangingEventException.cs:
* System.Data/InvalidConstraintException.cs:
* System.Data/InvalidExpressionException.cs:
* System.Data/MissingPrimaryKeyException.cs:
* System.Data/NoNullAllowedException.cs:
* System.Data/ReadOnlyException.cs:
* System.Data/RowNotInTableException.cs:
* System.Data/StrongTypingException.cs:
* System.Data/SyntaxErrorException.cs:
* System.Data/TypeDataSetGeneratorException.cs:
* System.Data/VersionNotFoundException.cs: Added to CVS.
* System.Data.SqlTypes/SqlNullValueException.cs:
* System.Data.SqlTypes/SqlTruncateException.cs:
* System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataViewSettingCollection.cs: implemented.
* System.Data/DataRowView.cs: new stubs.
* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDateTime.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
by Tim Coleman <tcoleman@opentext.com>
* System.Data.build: excluded newly-added files.
2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/PostgresLibrary.cs: included new
internal class that will be a helper class in using
PostgreSQL. PostgresLibrary is used for the
pinvoke methods to the PostgreSQL Client
native C library libpq while the class PostgresHelper
is used for wrapper or helper methods. It currently only
has one static method OidTypeToSystem in converting
PostgreSQL types to .NET System.<type>s, such as,
a PostgreSQL int8 becomes a .NET System.Int64.
Only a few types have been added, such as, int2,
int4, int8, varchar, text, bool, and char. Other types
will come later.
* System.Data.SqlClient/SqlCommand.cs: implemented
method ExecuteScalar which allows us to do aggregate
functions, such as, count, avg, min, max, and sum. We
also are able to retrieve the result, convert it to the .NET type
as an object. The user of the returned object must explicitly cast.
* Test/ReadPostgresData.cs: updated sample
to help us learn to retrieve data in System.Data.SqlClient
classes
2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: added /nowarn: nnnn arguments
so you will not get a ton of warnings. The warnings
being excluded are: 1595, 0067, 0109, 0169, and 0649
2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: modified to exclude more
files from the build
2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlClient/SqlClientPermission.cs: added missing
'using's.
* System.Data/MergeFailedEventArgs.cs: new class, contributed
by John Dugaw <jdugaw@unizenconsulting.com>.
* System.Data.build: excluded new files from build.
2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
* Test/ReadPostgresData.cs: added - Uses the
PostgresLibrary to retrieve a recordset.
This is not meant to be used in Production, but as a
learning aid in coding
class System.Data.SqlClient.SqlDataReader.
This sample does work.
* Test/TestSqlDataReader.cs: added - used
to test SqlDataReader (does not work yet)
Forgot to add to ChangeLog on last commit.
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataViewSetting.cs: new class.
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataViewManager.cs: new class.
* System.Data.SqlTypes/INullable.cs: properties for interfaces
don't have implementation.
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs:
* System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
these are strctures.
* System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
missing 'using's.
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataTableRelationCollection.cs: use 'new' keyword
for correctly hiding parent class' members.
(AddRange): use 'override' keyword on overriden method.
(Clear): likewise.
(Contains): likewise.
(IndexOf): likewise.
(OnCollectionChanged): likewise.
(OnCollectionChanging): likewise.
(RemoveCore): likewise.
* System.Data/DataColumnCollection.cs: use 'new' keyword.
* System.Data/DataSet.cs: added missing 'using's.
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataSet.cs:
* System.Data/DataTableCollection.cs:
* System.Data/DataView.cs: compilation fixes on Linux.
2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRelation.cs
* System.Data/ForeignKeyConstraint.cs
* System.Data/UniqueConstraint.cs: added more stubs
* System.Data/DataTableRelationCollection.cs: added back to cvs
and modified for compile errors. DataRelationCollection is an
abstract class and there must be a class that implements for
DataTable/DataSet. DataTableRelationCollection was changed
to an internal class.
* System.Data.build: modified - new files added
also wanted to include files/classes in the build
so we can get a compilable forward read only result set.
It compiles now using csc/nant with warnings, but this
is a start for adding functionality for the result set.
Classes associated with/and DataSet are still excluded.
* TODO: modified - updated to do list for System.Data
* System.Data/Constraint.cs
* System.Data/ConstraintCollection.cs
* System.Data/DataRelationCollection.cs
* System.Data/DataRow.cs
* System.Data/DataRowChangeEventArgs.cs
* System.Data/DataRowCollection.cs
* System.Data/DataTable.cs
* System.Data/DataTableCollection.cs
* System.Data/InternalDataCollectionBase.cs
* System.Data/PropertyCollection.cs: modified -
changes to compile SqlDataReader/DataTable and
dependencies
* System.Data/IDbCommand.cs
* System.Data.SqlClient/SqlCommand.cs: modified -
un-commented overloaded methods ExecuteReader
which returns a SqlDataReader
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataTableCollection.cs: more implementation.
(Count): added 'override' keyword, as pointer out by Martin.
* System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
only call Array.Copy when there is really stuff to be copied.
(CopyTo): don't create the temporary array, it's not needed.
* System.Data.build: excluded newly added file from build.
2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataTableRelationCollection.cs: removed, it's not
on MS SDK documentation.
* System.Data/DataTableCollection.cs: new class.
2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRowChangeEventArgs.cs
* System.Data/DataRowCollection.cs
* System.Data/DataView.cs
* System.Data/PropertyCollection.cs: added new stubs
* System.Data.build: modified - added new files to exclude
from build
* TODO: modified - removed files from TODO list
that were stubbed above
* System.Data/DataColumn.cs
* System.Data/DataRow.cs: modified - various tweaks
and added internal method SetTable to set the reference
to a DataTable
* System.Data/DataSet.cs: modified - class was not
completely stubbed.
* System.Data/DataTable.cs: modified - temporarily commented
DataSet and DataView references - trying to compile a SqlDataReader,
DataTable, and dependencies for a forward read-only result set.
SqlDataAdapter, DataSet, and DataView will come later once we can get
a forward read only result set working.
* System.Data/IDataRecord.cs: modified - source code lines should
not be > 80
* System.Data/InternalDataCollectionBase.cs: modified - started
implementing this base class for collection of data rows,
columns, tables, relations, and constraints
* System.Data.SqlClient/SqlException.cs: modified -
call base(message) so a unhandled exception displays
the message of a SQL error instead of the
default SystemException message
* Test/TestSqlException.cs: modified -
handle the rollback properly for a SqlException on a
failure to connect
2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.build: modified - added new
files to exclude from build
* System.Data/Constraint.cs
* System.Data/ConstraintCollection.cs
* System.Data/InternalDataCollectionBase.cs: added -
stubs which are needed to build DataTable.cs
* TODO: modified - added more classes TODO and
added more stuff TODO, such as, create script
to create test database monotestdb for testing
classes in System.Data
2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DataAdapter.cs:
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataTableMappingCollection.cs:
* System.Data.Common/DbDataPermission.cs:
* System.Data.Common/DbDataPermissionAttribute.cs: some
compilation errors fixed.
2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
* TODO: modified - added classes TODO, and
a poor attempt at System.Data plan
2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
* ChangeLog: modified - put tabs where they belong
* System.Data.SqlClient/SqlDataReader.cs
* System.Data/DataColumn.cs: modified - compile errors
trying to compile SqlDataAdapter and dependencies
2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlTypes/SqlBoolean.cs
* System.Data.SqlTypes/SqlCompareOptions.cs
* System.Data.SqlTypes/SqlInt32.cs
* System.Data.SqlTypes/SqlString.cs: added - new stubs
* System.Data/DataTable.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlError.cs
* System.Data.SqlClient/SqlTransaction.cs: modified -
misc. tweaks
* System.Data.SqlClient/SqlException.cs: modified -
missing Message on indexer for Message property
2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlCommand.cs: modified - to
compile using mcs. This problem is
returning a stronger type in csc vs. msc
* System.Data.SqlClient/SqlConnection.cs: modified - msc
can not do a using PGconn = IntPtr; and then declare
with PGconn pgConn = IntPtr.Zero;
Thiw works under csc though. Had to comment using and
changed declaration to IntPtr pgConn = IntPtr.Zero;
Also, got rid of compile warnings for hostaddr and port.
* System.Data.SqlClient/SqlErrorCollection.cs: modified - got
rid of compile warnings. Commented MonoTODO attribute because mcs
doesn't seem to work with C# array property indexer (Item)
this[int index]
* System.Data.SqlClient/SqlParameterCollection.cs: modified -
commented MonoTODO attribute for indexer for mcs compiling
* Test/TestSqlIsolationLevel.cs:
* Test/TestSqlInsert.cs:
* Test/TestSqlException.cs: modified -
removed extra ExecuteNonQuery which caused two inserted rows
2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/StateChangeEventArgs.cs - added
needed to compile System.Data.dll with mcs.
2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.OleDb: added directory - for OleDb database
provider classes
* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs
* System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data.SqlClient/SqlInfoMessageEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
* Test/TestSqlException.cs
* Test/TestSqlIsolationLevel.cs: added - more tests
* System.Data.build: modified - added new files - excludes these too
* System.Data.SqlClient/PostgresLibrary.cs - modified - comment
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlTransaction.cs
* System.Data.SqlClient/SqlException.cs
* System.Data.SqlClient/SqlErrorCollection.cs
* System.Data.SqlClient/SqlError.cs: modified - transaction and
exception/error handling. SqlConnection(connectionString)
constructor should not automatically connect.
* System.Data.SqlClient/SqlDataReader.cs
* System.Data.SqlClient/SqlDataAdapter.cs
* System.Data.SqlClient/SqlParameter.cs
* System.Data.SqlClient/SqlParameterCollection.cs: modified -
added using System.ComponentModel;
* Test/TestSqlInsert.cs: modified - to use transaction
2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataRow.cs: new skeletons.
* System.Data.Common/DataAdapter.cs:
* System.Data.Common/DataColumnMapping.cs:
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataTableMapping.cs:
* System.Data.Common/DataTableMappingCollection.cs:
* System.Data.Common/DbDataAdapter.cs:
* System.Data.Common/RowUpdatedEventArgs.cs:
* System.Data.SqlClient/SqlDataAdapter.cs:
* System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
fixes for Linux.
* System.Data.Common/DbDataRecord.cs:
* System.Data.Common/DbEnumerator.cs: removed MS implementation
internal classes.
2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
* Test/TestSqlInsert.cs: modified - do
a SQL DELETE before SQL INSERT of row so you can use this
test over and over.
* System.Data.SqlClient/SqlTransaction.cs: modified - default
IsolationLevel for PostgreSQL is ReadCommitted. However,
PostgreSQL allows Serializable as well.
(Thanks to Gonzalo for that!)
* System.Data.SqlClient/SqlConnection.cs: modified
* System.Data.SqlClient/SqlCommand.cs: modified
* System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
working; however, we still need to implement SQL errors
and exceptions to properly handle transactions. Also, added
status and error message support from the PostgreSQL database.
Currently, this does a Console.WriteLine() to display the
status and error messages, but this is a TODO
for SQL errors and exceptions.
* System.Data/TODOAttribute.cs: added - needed MonoTODO
attribute for System.Data.dll assembly
* System.Data/IDbCommand.cs: modified - commented
overloaded method ExecuteReader
so System.Data.SqlClient.SqlCommand can compile
* System.Data/IDbCommand.cs: modified
* System.Data/IDbConnection.cs: modified - added using System;
* System.Data/IDataParameter.cs
* System.Data.build: modified - build classes
in System.Data.SqlClient and exclude others in System.Data
* System.Data.SqlClient/PostgresLibrary.cs: modified - change
parameter data type from IntPtr to enum ExecStatusType
* ChangeLog: modified - corrected previous entries in log
2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DataColumnMappingCollection.cs: added basic
implementation. Still missing some stuff.
2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlConnection.cs: modified - got
to compile, run, and connect to PostgreSQL database
* System.Data.SqlClient/SqlCommand.cs: modified - got
to compile, run, and execute a SQL INSERT command
which successfully inserted a row
into the PostgreSQL database
* System.Data.SqlClient/SqlTransaction.cs: modified
* System.Data.SqlClient/SqlParameter.cs: modified
* System.Data.SqlClient/SqlParameterCollection.cs: modified
* System.Data.SqlClient/SqlError.cs: modified
* System.Data.SqlClient/SqlErrorCollection.cs: modified
* System.Data.SqlClient/SqlException.cs: modified
* System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
* System.Data.SqlClient/SqlAdapter: modified
* System.Data.SqlClient/SqlReader: modified - add more stubs
2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
* Test/TestSqlInsert.cs: added
2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
class SqlConnecition
* System.Data.SqlClient/SqlErrorCollection.cs: added
* System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
* System.Data.IDbDataParameter: Added Interface to IDataParameter.
* System.Data.IDbTransaction: Added Interface to IDisposable.
* System.Data.IDbCommand: Fixed Capitalization of class name.
* System.Data.IDbConnection: Fixed Capitalization of class name.
2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DbDataPermissionAttribute.cs:
* System.Data.Common/DataAdapter.cs:
* System.Data.Common/DataColumnMapping.cs:
* System.Data.Common/DbDataPermission.cs: added some implementation.
2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
syntax, as pointed out by Levent Camlibel.
2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/INullable.cs: new skeletons.
2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
contains all calls the the PostgreSQL client library, to be used
everywhere in System.Data.SqlClient.
2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlClient/SqlConnection.cs: implemented basic
constructors.
* System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DbDataRecord.cs:
* System.Data.Common/DbEnumerator.cs:
* System.Data.Common/RowUpdatedEventArgs.cs:
* System.Data.Common/RowUpdatingEventArgs.cs:
* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DataTableMappingCollection.cs:
* System.Data.Common/DbDataAdapter.cs:
* System.Data.Common/DbDataPermission.cs:
* System.Data.Common/DataTableMapping.cs: new skeletons.
* System.Data.SqlClient/SqlDataAdapter.cs:
* System.Data.SqlClient/SqlDataReader.cs:
* System.Data.SqlClient/SqlErrors.cs:
* System.Data.SqlClient/SqlError.cs:
* System.Data.SqlClient/SqlException.cs:
* System.Data.SqlClient/SqlParameter.cs:
* System.Data.SqlClient/SqlParameterCollection.cs:
* System.Data.SqlClient/SqlTransaction.cs:
* System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DataColumnMapping.cs:
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataAdapter.cs: created skeletons.
* System.Data.build: exclude new directories from build.
2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlClient/SqlTransaction.cs: started implementation.
* System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
implemented (2 methods).
2002-03-24 Duncan Mak <duncan@ximian.com>
* System.Data.build: Excluded System.Data.SqlClient from the build.
The stubs are incomplete and they are stopping the build.
* System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlClient/*: added skeletons for the SQL managed
provider for ADO.Net, to be based initially in PostgreSQL.
2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
Changed the Namespace on some Enums from mono.System.Data to System.Data
2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
* DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
default name if the ColumnName is null.
* DataSet.cs : Added
* DataTable.cs : Added
* DataRelationCollection.cs : Added
* DataTableRelationCollection.cs : Added
* DataColumn : Added
2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
* DataColumnChangeEventArgs.cs : Added
* DataColumnCollection.cs : Added
2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
* Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
* Updated all Enums, Interfaces, and Delegates in System.Data
|