| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556 |
- 2004-06-02 Gert Driesen <[email protected]>
- * DataTableTypeConverter.cs: added
- * DataView.cs: added missing attribute on Table property
- * DataViewManager.cs: moved attribute to correct property
- * UniqueConstraint.cs: removed extra ReadOnly attribute from
- IsPrimaryKey property
- 2004-06-01 Atsushi Enomoto <[email protected]>
- * DataRow.cs : ColumnsChanged event is not required in .ctor().
- 2004-06-01 Atsushi Enomoto <[email protected]>
- * XmlDataReader.cs : type change is required before setting value
- string to row item.
- 2004-05-31 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Loop-break of the last fix was incorrect.
- 2004-05-31 Atsushi Enomoto <[email protected]>
- * DataSet.cs : When a row has no parent row but the table has parent
- relation(s), that row had been always ignored.
- 2004-05-31 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
- rejected same-named tables in different hierarchy. Thanks to Boris.
- 2004-05-31 Atsushi Enomoto <[email protected]>
- * XmlDiffLoader.cs : Added some Skip() that is required not to go to
- infinite loop. Thanks to Boris for this fix.
- 2004-05-31 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
- Thanks to Boris for this fix.
- 2004-05-30 Atsushi Enomoto <[email protected]>
- * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
- for ReadXml(). Thanks to Boris.
- 2004-05-27 Boris Kirzner <[email protected]>
- * DataRow.cs :
- - CheckReadOnlyStatus : use typed (and faster comparing).
- - EndEdit : bug fix - do not dispose record if it holds original version.
- - SetValuesFromDataRecord : Take care about autoincrement columns.
-
- 2004-05-27 Atsushi Enomoto <[email protected]>
- * MergeManager.cs : don't output debug message to Console.
- 2004-05-27 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : Namespace are not imported to the table
- structure. Thanks to Boris Kirzner for the fix.
- 2004-05-27 Umadevi S <[email protected]>
- * DataRelationCollection.cs - fixed nunit test errors
- 2004-05-27 Umadevi S <[email protected]>
- * DataTableCollection.cs - fixed nunit test errors
- 2004-05-21 Atsushi Enomoto <[email protected]>
- * DataColumnCollection.cs : NullReferenceException was thrown when
- the table was not found.
- * DataRowCollection.cs :
- Find() just returns null for null value under MS.NET 1.1.
- RemoveAt() should also avoid to call AcceptChanges() like Remove().
- * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
- directly under MS.NET (for nunit test).
- 2004-05-21 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
- caused problem on qualified name to get schema Field name.
- 2004-05-21 Atsushi Enomoto <[email protected]>
- * XmlDataReader.cs : Now data reader is namespace aware in all places.
- When table's namespace is different, it entered to infinite loop.
- 2004-05-19 Boris Kirzner <[email protected]>
- * MergeManager.cs : AdjustSchema now updates by reference new created table,
- so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
- Code styling.
-
- 2004-05-19 Boris Kirzner <[email protected]>
- * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
- * DataColumnCollection.cs : fixed parantethes.
- * DataRow.cs :
- - AcceptChanges : do nothing if row state is unchanged.
- - GetChildRows, GetParentRows : bug fix (use correct index).
- * DataRowCollection.cs : bug fix (compare all row's values).
- * DataTable.cs : bug fix (use correct row version).
-
- 2004-05-20 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
- When content type is Mixed, text column is not required (it is
- required only when the complex type has no particle).
- "Repeated element" column is also created (considering maxOccurs=0
- and complex content extension).
- 2004-05-20 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
- properly.
- 2004-05-20 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
- Fixed relation inference to consider attribute XPath.
- 2004-05-19 Atsushi Enomoto <[email protected]>
- * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
- always fails.
- 2004-05-19 Boris Kirzner <[email protected]>
- * DataColumn.cs - removed default member attribute.
- 2004-05-19 Boris Kirzner <[email protected]>
- * DataColumn.cs,
- DataColumnChangeEventArgs.cs,
- DataColumnCollection.cs,
- DataRow.cs,
- DataRowCollection.cs,
- DataTable.cs,
- Index.cs : Data storage in the row is redesigned. Now data is stored in
- typed containers inside DataColumn. Row holds its versions as indexes inside
- each of data container, accessed through the row that holds it.
- 2004-05-19 Boris Kirzner <[email protected]>
- * UniqueConstraint.cs - added comment.
-
- 2004-05-19 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
- DataSet.
- 2004-05-17 Atsushi Enomoto <[email protected]>
- * DataSet.cs,
- XmlDataInferenceLoader.cs,
- XmlDataReader.cs,
- XmlSchemaDataImporter.cs : XmlDecode every local name to read and
- XmlEncode every local name to write. This should fix bug #58268.
- 2004-05-17 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
- Supported repeated elements. Removed MonoTODOs.
- * XmlDataInferenceLoader.cs : Design change to support ignored
- namespace and repeated elements.
- * XmlSchemaDataImporter.cs : Added mapping support classes.
- 2004-05-15 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs :
- Added property parent "[foo]Row" and children "Get[foo]Row" support
- for custom DataRow classes.
- Fixed DataColumn property accessibility (public --> internal).
- 2004-05-14 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs :
- - Put classes inside custom DataSet class.
- - Added automatic DataRelation creation support.
- - Added Constraints creation support. That is done separate from
- relations, since they might be independently created.
- - Added non-MS public DataRelation fields.
- - Removed extraneous "DataRelation type generation" code.
- - Fixed custom_dataset.Initialize() not to create "c" field that
- was created more than once.
- - Implemented AddxxxRow() that takes parameters for every column.
- 2004-05-14 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : When primary key is used more than once,
- DataRelation borked because of empty parent column name.
- 2004-05-14 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : When Creating constraints with related
- to DataRelation creation, also set PrimaryKey to the parent table.
- 2004-05-14 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs :
- Design change to add indirect table and relation structures.
- Support for "relation" annotation for local element.
- Support for repeatable simple element column (maxOccurs > 1).
- Fixed handling of Nested property on DataRelation (for globally
- annotated relation, Nested is false).
- 2004-05-13 Atsushi Enomoto <[email protected]>
- * DataRow.cs : Added DataElement property to avoid storing every row-
- element mapping. It stored even for nodes that should be removed.
- 2004-05-13 Umadevi S <[email protected]>
- * RelationshipConverter.cs - Stubbed this class
- * DataRelation.cs - added TypeConveterAttribute
- 2004-05-13 Umadevi S <[email protected]>
- * DataColumnCollection.cs - Added ResDescriptionAttribute
- * DataRelation.cs - Added TypeConverterAttribute
- * DataRelationCollection.cs - Added DefaultPropertyAttribute
- * DataRowView.cs - Added GetHashCode method with a TODO tag
- * DataSet.cs - Added DesignerAttribute
- * DataView.cs - Added DesignerAttribute
- * DataViewManager.cs - Added DesignerAttribute
- * DataViewSetting.cs - Added TypeConverterAttribute
-
- 2004-05-12 Atsushi Enomoto <[email protected]>
- * DataRow.cs : Added XmlDataElement initialization code.
- 2004-05-11 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs :
- It now requires XmlDocument as input. Improved identification of
- DataSet element. Removed extra lines.
- Moved boresome design notes to bottom of the source and
- added standalone runnable driver (not included on build).
- * DataSet.cs :
- Update with related to the change above.
- WriteXml() should call Flush() after writing. This fixes bug #58327.
- * XmlSchemaDataImporter.cs :
- Improved indentification of DataSet element.
- 2004-05-11 Gert Driesen ([email protected])
- * DataTable: marked initStatus enum internal
- 2004-05-09 Gert Driesen ([email protected])
- * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
- methods internal
- * DataRowView.cs: removed extra Error property
- * DataRow.cs: reduced accessibility of CollectionChanged method
- to private
- * DataColumnPropertyDescriptor.cs: made class internal
- * DataColumn.cs: removed extra TypeConvertorAttribute
- * ConstrainCollection.cs: marked PostEndInit method internal
- 2004-05-07 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- In WriteXmlSchema(), when complex type contains simple type content
- attributes must not added to XmlSchemaComplexType directly. It
- causes schema compilation error.
- DataRelation should not be output when related columns are hidden.
- 2004-05-07 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
- also expected to do ReadXml(), but I will remove that feature and
- support column reordering).
- * XmlSchemaDataImporter.cs : Always initialize dataset name.
- Always set Nested and primary key for parent table.
- * XmlDataReader.cs : Now it is used.
- Top level element might not match to dataset name nor any table
- name, but still possible to read content tables.
- Handle empty element correctly in some places.
- Handle Fragment mode (read up XmlReader to the end).
- * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
- XmlDataInferenceLoader and XmlDataReader.
- 2004-05-06 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- Eliminated CRLF injection.
- More clear message in Clear().
- Updates reflecting XmlSchemaDataImporter change.
- Added duplicate check for XmlSerializerNamespaces in BuildSchema().
- Don't use xmlns attribute for UnhandledAttributes (its not mandatory
- but that depends on different behavior from ms.net).
- Set locale also for DataTable.
- Add xs:element only when target namespace matches to the
- element's namespace. Otherwise, add xs:import for external namespace.
- Put xs:sequence for dataset element's particle _only when_ actual
- contents exist.
- 2004-05-06 Atsushi Enomoto <[email protected]>
- * XmlDataReader.cs : Added. This class will work better when our
- schema inference and schema read engine gets improved. (It contains
- standalone testable Driver class.)
- 2004-05-06 Atsushi Enomoto <[email protected]>
- * ForeignKeyConstraint.cs : Check step change. Existence then column
- validity. just for tests.
- * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
- fields.
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Ignore empty content only when output type is diffgram.
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs : Modified that DataSet contains each
- DataTable field so that each table property can access them directly.
- (plus, modified standalone code driver code: shouldn't affect)
- 2004-05-05 Boris Kirzner <[email protected]>
- * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
-
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs :
- SimpleContent column support.
- Annotated relation support.
- Top-level element is counted only when its type is complex.
- xs:anyType is no longer treated as complex type.
- dataset existence is mandatory now.
- Improved DataType and DefaultValue support.
- Attribute namespace is properly handled now.
- Prohibited attribute is now treated as hidden column.
- Reject list or union simple type.
- Still incomplete 1) to read relationship in some cases, 2) to
- determine whether an element is dataset or table, 3) thus to
- exclude extraneous column, 4) to remove extraneous *_Id column.
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * DataTable.cs :
- We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
- serialization .ctor() (thus schema read/inference should be easier).
- DataRowSorter should consider Table's Locale.
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * DataColumnCollection.cs : We already had AutoIncrementValue(), so
- use it instead of duplicating logic.
- 2004-05-05 Atsushi Enomoto <[email protected]>
- * ConstraintCollection.cs :
- Use Table.CaseSensitive and Table.Locale to compare strings.
- Duplicate constraint name exception does not occur under .NET 1.1.
- 2004-05-04 Lluis Sanchez Gual <[email protected]>
- * XmlSchemaDataImporter.cs: Added little type check.
- 2004-05-04 Lluis Sanchez Gual <[email protected]>
- * DataSet.cs: Implemented support for runtime serialization. Fixed support
- for xml serialization.
- * XmlDiffLoader.cs: Skip diffgram element when it is empty.
- 2004-04-30 Umadevi S <[email protected]>
- * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
- * DataTableCollection.cs : Tested and removed TODO
- * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
- 2004-04-29 Atsushi Enomoto <[email protected]>
- * DataRow.cs : My previous patch unintentionally reverted Boris patch.
- 2004-04-29 Boris Kirzner <[email protected]>
- * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
- constraint is defined on single column.
- 2004-04-29 Atsushi Enomoto <[email protected]>
- * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
- not ArgumentException (maybe changed after 1.1).
- 2004-04-29 Atsushi Enomoto <[email protected]>
- * DataRow.cs : When Column was added and it was AutoIncrement column,
- it extended the item object array incorrectly.
- (Plus tiny comment and incorrect indentation fix.)
- 2004-04-29 Boris Kirzner <[email protected]>
- * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
- 2004-04-29 Boris Kirzner <[email protected]>
- * DataRow.cs : Bug fix in CopyValuesToRow().
-
- 2004-04-29 Boris Kirzner <[email protected]>
- * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
- each of the columns should not be unique, but only all the constraint's columns together.
-
- 2004-04-28 Boris Kirzner <[email protected]>
- * DataRow.cs :
- - Perfomance fixes:
- - Added using of list of autoIncrement columns
- - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
- - Fix in CheckNullConstraints
- - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
- - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
- - Added onColumnRemoved() method to threat column removal accurately.
-
- * DataRowCollection.cs :
- - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
- - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
-
- * DataTable.cs :
- - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
-
- * DataColumnCollection.cs :
- - Perfomance fixes :
- - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
- - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
- - automatic creation of column names rewrited (bug fixes + perfomance improvement)
-
- * DataColumn.cs :
- - Uses autoincrement list of a table
- 2004-04-27 Atsushi Enomoto <[email protected]>
- * XmlDataLoader.cs : Even when it should ignore schema, it was
- infering schema.
- * XmlSchemaDataImporter.cs : DataRelation creation support.
- Improved "DataSet" element handing. When attributes are on the
- element, it is not a "DataSet" element.
- Fixed parent key column name.
- Unique name creation is not required. Just raise an error.
- Fill facet also for attribute types.
- 2004-04-27 Atsushi Enomoto <[email protected]>
- * DataRow.cs : Null check for CheckReadOnlyStatus() and
- CheckNullConstraints(), with some coding guideline fixes.
- Type check should be done by Type instance comparison.
- 2004-04-27 Atsushi Enomoto <[email protected]>
- * DataColumnCollection.cs : When add a column to the collection, fill
- auto-increment column.
- 2004-04-26 Boris Kirzner <[email protected]>
- * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
-
- 2004-04-26 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs : Added.
- * TypedDataSetGenerator.cs : Implemented Generate().
- Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
- * XmlSchemaDataImporter.cs : Table Locale should be supplied.
- 2004-04-25 Boris Kirzner <[email protected]>
- * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
-
- 2004-04-25 Boris Kirzner <[email protected]>
- * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
- 2004-04-23 Umadevi S ([email protected])
- * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
- - Added error handling to the above methods
- 2004-04-22 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
- the support is incomplete yet).
- * XmlDataLoader.cs :
- Reverted ReadModeSchema() argument change. XmlReadMode would be
- useful to handle IgnoreSchema.
- Don't overwrite DataSetName when mode is not such kind.
- Set Prefix and Namespace as well as DataSetName.
- AllowDBNull looks set false by default for element column.
- Set unique constraint as primary key when infering the table schema.
- 2004-04-21 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- Never set null string for Prefix and Namespace.
- In InferXmlSchema() when null XmlReader is passed, just do nothing.
- In WriteXmlSchema(string), earlier try block.
- In BuildSchema(), try to add serialization namespaces for each
- namespaces in DataSet/DataTable/DataColumn.
- Removed namespace argument from WriteColumnAsElement() and don't
- overwrite when namespace is "". This fixes bug #57330.
- * DataColumn.cs : For Namespace and Prefix, never set null.
- 2004-04-21 Boris Kirzner <[email protected]>
- * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
- before creating and adding foreign key constraint and relation.
- 2004-04-21 Boris Kirzner <[email protected]>
- * MergeManager.cs : In AdjustSchema() source table clone should be added
- and not the table itself.
- 2004-04-21 Boris Kirzner <[email protected]>
- * DataSet.cs :
- - CaseSensitive : Additional fix (removed unnesessary assignment).
- - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
- 2004-04-21 Boris Kirzner <[email protected]>
- * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
-
- 2004-04-20 Boris Kirzner <[email protected]>
- * DataTable.cs :
- - EndLoadData() : perfomance fix in case of null constraint violation
- during data load (also in DataRow.cs).
- - CaseSensitive : If DataTable belongs to DataSet it should always use
- DataSet.CaseSensitive untill explicitly changed.
- - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
-
- * DataRow.cs :
- - Pefromance fix in case of null constraint violation
- during data load (also in DataTable.cs).
- - CollectionChanged() : use correct column number after new DataColumn was added
- (differs in case some DataColumn was previosly removed).
- - EndEdit() - throw away proposed values only after CheckChildRows() complete.
- 2004-04-20 Boris Kirzner <[email protected]>
- * DataColumnCollection.cs : Since unique constraint is added now
- in DataColumn.SetTable() the additional creation of constraint in
- DataColumnCollection.Add() is redundant and causes exception - fixed.
-
- 2004-04-19 Atsushi Enomoto <[email protected]>
- * XmlDataLoader.cs : Added "never add data rows" mode.
- Removed unused code. However, it is temporary fixes to unify
- ReadXml() and InferXmlSchema().
- * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
- I'll create another XmlDataLoader since there are many problems
- such that 1) it is too waste to read the entire xml into an
- XmlDocument, 2) it does not handle attributes correctly, and 3) it
- must handle "ignored namespaces".
- 2004-04-19 Atsushi Enomoto <[email protected]>
- * Added XmlSchemaDataImporter.cs (new schema reader).
- * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
- for ReadXmlSchema().
- Let schema reading work to ReadXmlSchema().
- Don't return ReadSchema when argument read mode was DiffGram.
- 2004-04-15 Umadevi S ([email protected])
- * Updated Clone/Copy methods in DataSet along with Testcase
- * ForeignKeyConstraint.cs - special ctor implemented
- Logic : ParentTable in the ctor - Since only name is given (not the DataTable object), we cannot associate any DataTable or DataSet right now. So, only possible way is to do it when AddRange() is called. The ParentTable is searched in the DataSet to which the calling DataTable belongs. And make the calling DataTable as ChildTable. In the PostAddRange() method check is addedd to perform the assignment of parent and child data columns once the information becomes available (When AddRange is called).
- * Changes in ConstraintCollection.cs for the above
- Add (Constraint) - A check is performed to see if the constraint is ForeignKeyConstraint and whether data columns are validated. If no, whether it is called with AddRange(), If no, an Exception is thrown. AddRange() - PostAddRange() is called on the ForeignKeyConstraint object with the "table" as argument. Thanks to Deepak for the patch.
-
- 2004-04-15 Atsushi Enomoto <[email protected]>
- * XmlSchemaMapper.cs : set parent key and foreign key info to
- DataRelation when reading refkey constraints.
- Supply constraint name for fkey.
- 2004-04-15 Atsushi Enomoto <[email protected]>
- * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
- mode is Auto, just ignore the schema if there is already schema info.
- * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
- 2004-04-14 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- - In MS output, XML declaration looks to have standalone decl (yes).
- - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
- - ReadXml(reader, mode)
- 1) return originally specified mode, instead of (always) Auto.
- 2) Check empty reader.
- 3) Check diffgram schema and content separately.
- 4) When diffgram exists, remaining (the same-level) contents
- won't be consumed.
- 5) Similar fact should be applied, but somewhat different.
- InferSchema and IgnoreSchema just skips, Fragment reads both
- schema and content, others just reads schema.
- - Removed unused code.
- * XmlDataLoader.cs :
- - Read() should skip in some ReadMode.
- - Don't compare schema element name as case-insensitive (well,
- should schemas be checked here?)
- - Avoided BuildDocument() not to create confusing DataSet
- document element.
- - Don't add any tables when reader has single element.
- * XmlDiffLoader.cs :
- When target table was not found, MS.NET doesn't raise an error.
- * XmlSchemaMapper.cs :
- When XmlSchema.Read() left xml reader at </xs:schema>, read once.
- 2004-04-13 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- - InferXmlSchema(): Throw explicit NotImplementedException now.
- - Don't put XML declaration everywhere. Write just for filename arg.
- - xmlns="" should not be written. Maybe WebService problem is
- because default namespace is overwritten. This patch will keep
- the WS problem away and actually fixes some unit tests (i.e. use
- explicit String.Empty for null namespace in WriteStartElement()).
- - MoveToContent() should always be called, not only when
- LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
- - Even XmlReadMode is DiffGram, reader might not be "diffgram"
- element. As to MSDN, diffgram does not contain schema.
- 2004-04-13 Gonzalo Paniagua Javier <[email protected]>
- * DataTable.cs: made _initStatus private so that System.Data is CLS
- compliant.
- 2004-04-13 Umadevi S <[email protected]>
- * UniqueConstraint.cs:
- * ConstraintCollection.cs:
- * DataTable.cs:
- - Implemented a Constructor for UniqueConstraint.cs
- - Used EndInit on DataTable to call a delegate which adds the
- constraints passed to the most recent call of AddRange().Used
- AddRange() on ConstraintCollection to check whether
- DataTable.BeginInit has occurred. If yes, save the argument
- constraint collection passed, then return. If no, Check whether the
- constraints are of type UniqueConstraint and initialized with the
- special constructor If yes Initialized the table property of this
- UniqueConstraint object with table assosciated with the current
- instance of ConstraintCollection class.
- 2004-04-07 Marek Safar <[email protected]>
- * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
- 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
- * Constraint.cs:
- * DataColumnCollection.cs:
- * DataRelationCollection.cs:
- * DataRowCollection.cs:
- * DataTableCollection.cs:
- * InternalDataCollectionBase.cs:
- * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
- Fixes bug #56557.
- 2004-04-05 Jackson Harper <[email protected]>
- * DataTable.cs: Add rows to the row list if there is no filter.
-
- 2004-03-31 Juraj Skripsky <[email protected]>
- * DataColumn.cs : Setting Caption to null sets it to the empty string
- (ms.net behaviour, testcase is in DataColumnTest).
-
- * DataRow.cs : Evaluate DataColumn.Expression when such a column's
- value is requested.
- 2004-03-30 Lluis Sanchez Gual <[email protected]>
- * DataColumn.cs: In Expression setter, set the expression member even if
- it is an empty string.
- * DataSet.cs: Support serialization of byte[] columns.
- * XmlDataLoader.cs: Support deserialization of Guid columns.
- Set MappingType.Attribute to columns infered from attributes.
- 2004-03-29 Juraj Skripsky <[email protected]>
- * ExpressionElements.cs : remove
- * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
- Integration of new Mono.Data.SqlExpressions classes used in
- DataTable.{Select, Compute}.
- Fixes bug #55503 and lots of failures in DataTableTest.cs.
- 2004-03-28 Juraj Skripsky <[email protected]>
- * Index.cs: Simple fix in ComparePartialRowNonUnique.
- This fixes bugs #56129 and #56014.
- 2004-03-25 Lluis Sanchez Gual <[email protected]>
- * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
- stream after writing the dataset. This fixes bug #52581.
- Also added several writer.Close into finally blocks, so writers are properly
- closed in case of an exception.
- 2004-03-12 Andreas Nahr <[email protected]>
- * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
- * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
- * ColumnTypeConverter.cs: Added stub
- * DefaultValueTypeConverter: Added stub
- * ConstraintConverter.cs: Added stub
- 2004-03-04 Eran Domb <[email protected]>
- * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
- in MS.NET documentation (missing DataSet element etc).
- 2004-03-04 Eran Domb <[email protected]>
- * Node.cs : Added.
- * Index.cs : Rollback last changes.
-
- 2004-03-03 Atsushi Enomoto <[email protected]>
- * Index.cs : justa build fix.
- 2004-03-03 Eran Domb <[email protected]>
-
- * Index.cs : Added.
- * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
- DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
- This changes made for performance improvement.
- 2004-02-08 Eran Domb <[email protected]>
- * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
- 2004-02-08 Eran Domb <[email protected]>
- * DataSet.cs: Fix some bugs in ReadXml().
- 2004-02-04 Lluis Sanchez Gual <[email protected]>
- * DataSet.cs: Added missing method that broke the build.
- 2004-02-04 Eran Domb <[email protected]>
- * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
- better performance.
- * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
- when all column are attributes (elements count is 0), we still want to add the relations. No relations
- can be on simple contents.
- (AddUniqueConstraints) Check that the column of the constraint are not hidden.
- (AddForeignKeys) Check that the relation has constraints attach to it.
- * XmlConstants.cs : Added constant.
- 2004-02-04 Eran Domb <[email protected]>
-
- * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
- DoWriteXmlSchema calls BuildSchema ().
- 2004-02-04 Lluis Sanchez Gual <[email protected]>
- * DataRow.cs: Added SetOriginalValue(), which is used to set the original
- value of a column.
- * DataRowCollection.cs: In InsertAt(), perform the correct checks and
- attach the row.
- * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
- also be added to the dataset.
- In WriteTable(), do not write unchanged rows when writing the original
- version of the table.
- Added WriteIndividualTableContent(), for writing the contents of a single
- table.
- Changed BuildSchema and related methods, so it can generate a schema for
- any set of tables, not just the tables of the dataset (needed for
- single datatable serialization).
- * DataTable.cs: Implemented serialization constructor and GetObjectData method.
- Also implemented some ReadXmlSchema methods.
- * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
- instead of loading the full dataset in an XmlDocument. It is faster and
- saves memory. Also fixed several problems when generating the changes.
- * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
- table serialization).
- 2004-02-02 Eran Domb <[email protected]>
- * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
- Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
- * DataTable.cs (NewRow): Create only one DataRowBuilder.
- Initiate new row with row id -1.
- * DataRow.cs : Add RowId property.
- * DataRowBuilder.cs : Add _rowId member.
- * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
- 2004-01-26 Eran Domb <[email protected]>
- * XmlConstants.cs : Added some constants.
- * DataColumn.cs : Added a method to retrive AutoIncrement value.
- * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
- parent table column.
- * XmlDiffLoader.cs : Convert the value comming from the xml.
- * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
- (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
- (ReadXmlSchemaElement) : Set the locale of the dataset.
- (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
- (GetColumnType) : New method to get the column type from the attribute value.
- (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
- and add the constraint to the table.
- (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
- the table.
- * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
- Writing more information to the schema for interoperability with ms.net.
- Improve diffgarm writing mode.
-
- 2004-01-21 Atsushi Enomoto <[email protected]>
- * TypedDataSetGenerator.cs : Implemented GenerateIdName().
- 2004-01-21 Eran Domb <[email protected]>
- * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
- Do not set the child column to be AutoIncrement.
- Create the new column for the relation as MappingType.Hidden so they will not be serialized
- when writing the dataset to xml.
- 2004-01-20 Atsushi Enomoto <[email protected]>
- * Added missing TypedDataSetGenerator.cs.
- 2004-01-08 Eran Domb <[email protected]>
- * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
- * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
- InferSchema, ReadSchema and IgnoreSchema.
- * XmlDataLoader.cs : All modes use the same logic.
- * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
- 2004-01-06 Eran Domb <[email protected]>
- * DataRelationCollection.cs : Use IndexOf in indexer.
- * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
- * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
- * XmlDiffLoader.cs : Reading nested tables.
- * XmlSchemaMapper.cs : Reading the relation.
- * XmlConstants.cs : Adding some constants.
- 2004-01-05 Jackson Harper <[email protected]>
- * DataView.cs: Set readonly property of property descriptor. This
- fixes bug #52598.
-
- 2004-01-01 Sanjay Gupta <[email protected]>
- * DataRelationCollection.cs : Fixed incorrect generation of default
- Relation name.
- * DataSet.cs : Added missing functionality in WriteXml().
- * XmlConstants.cs : Added new constants.
-
- 2003-12-27 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Fixed incorrect WriteXml() signature.
- 2003-12-18 Jackson Harper <[email protected]>
- * DataView.cs: Implement AddNew, Delete, and OnListChanged.
-
- 2003-12-17 Atsushi Enomoto <[email protected]>
- * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
- they take shape of xml. This fixed bug #52240
- 2003-12-16 Tim Coleman <[email protected]>
- * KeyRestrictionBehavior.cs:
- New stubs added for .NET 1.2
- * DataTable.cs:
- Changes for 1.2
- 2003-12-08 Eran Domb <[email protected]>
- * DataColumn.cs (Expression) : Validate the expression.
-
- * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
- (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
-
- * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
- (RejectChanges) : Detach row when state was Added.
- (CollectionChanged) : Fix a bug.
-
- * ExpressionElement (ValidateExpression) : Fix a bug.
-
- * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
- a parent row in the parent table.
- (_validateColumns) : Fix bugs.
-
- * MergeManager.cs (AdjustSchema) : Fix a bug.
-
- * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
- between the tables.
- 2003-11-30 Eran Domb <[email protected]>
- * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
- (Add) : Find if the new column name is the same as the one found in IndexOf.
- (IndexOf) : New method.
- (Contains) : Use new IndexOf.
- (IndexOf) : Use new IndexOf.
-
- * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
- (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
-
- * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
- (Delete) : Detach row if the RowState was Added.
- (GetChildRows) : Get the array form the ChildTable.
- (GetParentRows) : Get the array from the ParenTable.
-
- * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
-
- * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
-
- * DataTable.cs (PrimaryKey) : Fix bugs.
- (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
-
- * DataTableCollection.cs (Add) : Fix a bug.
-
- * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
- (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
- Some code style changes (tab instead of whit spaces, alignment, etc...).
-
- * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
-
- * MergeManager.cs (AdjustSchema) : Fix a bug.
-
-
- 2003-11-26 Miguel de Icaza <[email protected]>
- * DataSet.cs: Add a few more missing methods, code style updated
- to Mono style.
- 2003-11-26 Tim Coleman <[email protected]>
-
- * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
- * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
- * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
- * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
- * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
- * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
- * StatementCompletedEventHandler.cs UpdateOptions.cs:
- New classes added for NET_2_0
- * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
- * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
- Modifications to add new NET_2_0 functions
- 2003-11-25 Tim Coleman <[email protected]>
- * IDataSources.cs:
- New 1.2 class added
- 2003-11-21 Pedro Martínez Juliá <[email protected]>
- * DataRow.cs: Detached row can be accesible (new rows from data
- table are detached). Closes but #51263.
- 2003-11-19 Eran Domb <[email protected]>
- * DataRow.cs : Throw exceptions if Row is Detached.
- (EndEdit) : Check that we are not in middle of ChangeEvent.
- (AcceptChanges) : Detach the row.
-
- * DataRelation.cs : throw correct exception.
- *UniqueConstraint.cs : throw correct exception.
-
- 2003-11-09 Pedro Martínez Juliá <[email protected]>
- * DataRow.cs: Use RemoveInternal instead of Remove because the last
- one uses Delete and AcceptChanges.
- * DataRowCollection.cs: When removing, Delete and AcceptChanges
- method from the row are called. Added an internal method that will
- be used by DataRow to "physically" remove the row from the list.
- 2003-11-09 Pedro Martínez Juliá <[email protected]>
- * DataRowCollection.cs: To follow the specification: Remove and
- RemoveAt should remove the row. But needed to call DeletingDataRow
- to prepare the deleting.
- * DataRow.cs: Don't call DeletingDataRow when it is called by the
- method Table.Rows.Remove.
- 2003-11-09 Pedro Martínez Juliá <[email protected]>
- * DataRowCollection.cs: Make the row be deleted by itself. If not,
- it fails because we need to call OnRowDeleting and OnRowDeleted. It
- is full implemented inside DataRow.
- 2003-11-05 Eran Domb <[email protected]>
- * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
- 2003-11-04 Eran Domb <[email protected]>
- * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
- on all Relations.
- (GetChildRows) : Adding some checks.
- (GetParentRows) : Adding some checks. Fix a bug in implementation.
- (SetParentRow) : Added implementation.
-
- * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
- * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
- * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
- * MergeManager.cs : Check that the target table is not null.
- 2003-10-27 Eran Domb <[email protected]>
- * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
- can be converted to the column type.
-
- * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
-
- * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
- (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
-
- * DataRowCollection.cs (Add) : Fixing a bug.
- (Clear) : Before clearing the array check that there is no violation of FK constraint.
-
- * DataSet.cs (Prefix) : If value is null chage it to empty string.
- (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
-
- * ExpressionElement : Adding support for IN expresion.
-
- * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
- (Select) : Adding support for DataViewwRowState.
-
- * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
-
- * MergeManager.cs (MergeRow) : Fix bugs.
-
- 2003-10-27 Eran Domb <[email protected]>
- * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
- check null values when ending loading data.
-
- * DataSet.cs (RejectChanges) : Imlementation.
- (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
- change it to empty string.
-
- * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
-
- 2003-10-22 Eran Domb <[email protected]>
- * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
-
- * ConstraintCollection.cs (RamoveAt): Change implemntation.
-
- * DataTableCollection (CanRemove): Removing cast to Constraint.
- 2003-10-22 Eran Domb <[email protected]>
- * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
- (Clear): The collection was cleared without removing the relation from the parent and child tables.
-
- * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
- (HasChanges, Reset): Imlementation.
-
- * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
- This is because the we do not no when to turn off the flag.
- (Locale): Changing implementation to behave like ADO.NET.
- (AcceptChanges): Fix bug.
- (Clear): Check that this table is not referenced from a foreign key constraint.
- (Copy): Do not try to access a deleted row.
- (CopyProperties): Copy the PrimaryKey.
- (GetChanges, ImportRow): Implementation.
- (LoadDataRow): Adding implementation if the table has PrimaryKey.
- (ToString): Changing implementation to behave like ADO.NET.
-
- * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
-
- * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
- (HasErrors): Implementation.
- (Delete): Added checking for child rows of the deleted row.
- (EndEdit): Added checking for child row and firing events.
- (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
- (GetColumnsInError): Added a check for null values in column error.
- (HasVersion): Added special treatment for special RowState.
- (CollectionChanged): More checks to avoid NullReferenceException.
-
- * DataRowCollection.cs (Remove): Fix a bug.
- 2003-10-01 Duncan Mak <[email protected]>
- More patches from Eran Domb <[email protected]>.
- * MergeManager.cs: New file.
- * DataRelationCollection.cs (AddCore): Check that a
- UniqueConstraint is already exists. It loops over the Relations
- instead of the Constraints.
- (Add, AddCore): The relation was added twice.
- * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
- 2003-09-30 Duncan Mak <[email protected]>
- Patches from Eran Domb <[email protected]>.
- * DataRelation.cs (constructor): When the name of the relation is
- null, it should return an empty, not "Relation".
-
- * DataRow.cs (AcceptChanges): Added special case for
- RowState.Detached.
- (CancelEdit): Set editing flag to false.
- (IsNull): Check that the value is DBNull.
- * DataRowCollection.cs (Add): There was no check that the table of
- the collection is owned by a DataSet.
- * DataSet.cs (OnMergeFailed): Added.
- * UniqueConstraint.cs (AssertConstraint): There was no check that
- values in the row are not null, where it is a primary key
- column. Also check that the row has a proposed version, if not,
- get the current version when we compare the rows.
- 2003-09-25 Duncan Mak <[email protected]>
- Patches from Eran Domb <[email protected]>.
- * DataColumn.cs (Unique): Implemented.
-
- * DataTable.cs:
- * ConstraintCollection.cs:
- * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
- an Exception thrown. Details:
- http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
-
- * DataRowCollection.cs (Add): There is no checking that there is
- no violation of the unique constrains.
- * UniqueConstraint.cs (AssertConstraint): There is no checking on
- all columns in the constraint.
- * DataTableCollection (Add): Correctly throw an Exception, more
- details here:
- http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
- (Remove, RemoveAt): Implemented.
- 2003-07-31 Duncan Mak <[email protected]>
- * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
- 2003-07-25 Ravi Pratap <[email protected]>
- * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
- method on a delegate is disallowed - fix this.
- 2003-07-22 Lluis Sanchez Gual <[email protected]>
- * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
- xml serialization. Modified method of writing schema. Now it creates
- a XmlSchema object and serializes it using XmlSerializer.
- * XmlConstants.cs: Added constants for data type names.
- * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
- type specified in the column.
- 2003-04-20 Alan Tam <[email protected]>
- * DataRelationCollection.cs: Fix a bug that prevent relations
- from being added via DataSet.
- 2003-04-12 Ville Palo <[email protected]>
- * UniqueConstraint.cs: one tiny fix.
-
- 2003-04-05 Ville Palo <[email protected]>
- * DataTable.cs: Remove UniqueConstraints when adding new ones
-
- 2003-04-04 Ville Palo <[email protected]>
- * DataColumnCollection.cs: Little 'case sensitive' fix
-
- 2003-04-04 Ville Palo <[email protected]>
- * DataRow.cs: AutoIncrement handling to Constructor
- * DataRowCollection.cs: This doesnt need anymore AutoIncrements
-
- 2003-03-27 Ville Palo <[email protected]>
- * DataTable.cs: Some fixes to PrimaryKey etc...
- * UniqueConstraint.cs: Little clean up
-
- 2003-03-27 Ville Palo <[email protected]>
- * DataTable.cs: Tiny fix to ToString () -method
-
- 2003-03-27 Ville Palo <[email protected]>
- * ConstraintCollection.cs: Little fix.
- * DataColumn.cs: Added new internal method SetUnique()
- * UniqueConstraint.cs: some little fixes
-
- 2003-03-26 Ville Palo <[email protected]>
- * DataRowCollection.cs: Bugfixes, implementation,...
-
- 2003-03-26 Ville Palo <[email protected]>
- * DataColumn.cs: If DataType if set to something else than short, int
- or long and AutoIncrement is true, AutoIncrement is must set to false.
-
- 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
- * DataRow.cs:
- (BeginEdit): fixed array bound problem when a column has been added.
- (EndEdit): just assign proposed to current as proposed is set to null.
- This also fixes another array boudn problem.
- 2003-03-21 Alan Tam <[email protected]>
- * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
- EndEdit and AcceptChanges to act correctly according to DataRowState
- and DataRowVersion.
- * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
- attached and detached from the collection.
- 2003-03-20 Alan Tam <[email protected]>
- * DataColumn.cs: Store empty string for Expression when null is passed in.
- Classes generated by XSD.exe passes null by default.
- 2003-03-16 Ville Palo <[email protected]>
- * DataColumnCollection.cs: Tiny clean up
- 2003-03-16 Ville Palo <[email protected]>
- * DataColumn.cs: little fixes.
- * DataColumnCollection.cs: Lots of little fixes and improvments.
-
- 2003-03-12 Alan Tam <[email protected]>
- * DataSet.cs: Fixed a bug that the file written does not close correctly.
- 2003-03-08 Alan Tam <[email protected]>
- * DataRelationCollection.cs: Removed the mis-overridden methods
- * DataRow.cs: Fixed an attribute
- * DataSet.cs: Fixed the modifiers
- 2003-03-06 Aleksey Demakov <[email protected]>
- * DataTableCollection.cs: The Contains (string name),
- IndexOf (string name) methods, and item[string name] indexer
- now behave more like .NET with respect to case-sensitivity.
- That is if there is an exactly matching item then this one is used.
- If there is only one item differing in case then it used.
- If there are more than one item differing in case then
- Contains returns false, IndexOf returns -1, and item[]
- throws an ArgumentException.
- 2003-02-28 Ville Palo <[email protected]>
- * ExpressionElement.cs: More implementation.
-
- 2003-02-28 Alan Tam <[email protected]>
- * DataSet.cs: Changed WriteTable so that it now calls the newly written
- WriteObjectXml to direct the call to the respective XmlConvert method.
- This fixes the wrong format written to XML files of bool, float,
- double, DateTime and TimeSpan types.
- 2003-02-25 Alan Tam <[email protected]>
- * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
- * DataRelationCollection.cs: Implemented AddRange and Contains.
- Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
- Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
- Reimplemented most Add methods to eliminate duplicated checks.
- Centralized RelationName generation procedure in GetNextDefaultRelationName.
- 2003-02-25 Alan Tam <[email protected]>
- * DataColumn.cs: Fixed wrong storage representation of Expression
- (using empty string instead of null) so that ToString() returns nothing.
- * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
- auto column naming now works as expected. Reimplemented some Add methods
- to eliminate code duplication.
- 2003-02-19 Ville Palo <[email protected]>
- * DataTable.cs: DataTable.CaseSensitive follows parent
- DataSet.CaseSensitive property if DataTable.CaseSensitive has never
- been changed directly from DataTable
-
- 2003-02-19 Ville Palo <[email protected]>
- * DataSet.cs: When CaseSensitive property is changed all of the Tables
- of DataSet have to change too
-
- 2003-02-19 Daniel Morgan <[email protected]>
- * InternalDataCollectionBase.cs: revert change to field
- to fix build
-
- * DataViewManager.cs
- * DataView.cs
- * DataTable.cs
- * DataSet.cs: commented use of DesignerAttribute
- because it broke the build. According to MSDN,
- DesignerAttribute does not have a zero-argument constructor
- 2003-02-18 Ville Palo <[email protected]>
- * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
-
- 2003-02-18 Alan Tam <[email protected]>
- * DataRow.cs: Implemented GetParentRow and GetParentRows.
- * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
- OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
- RaisePropertyChanging.
- * DataTable.cs: Implemented NewRowArray.
- * DataTablePropertyDescriptor: Fixed a modifier.
- * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
- * PropertyCollection.cs: Minor fix.
- * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
- * DataRelation.cs DataRelationCollection.cs DataRow.cs
- * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
- * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
- * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
- * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
- * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
-
- 2003-02-08 Ville Palo <[email protected]>
- * ExpressionElement.cs: More implementation
-
- 2003-02-05 Alan Tam <[email protected]>
- * DataSet.cs: Added framework for DataSet.Update Implemented missing
- methods GetSchemaSerializable, GetSerializationData,
- ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
- for DataSet
- * DataTable.cs: Implemented missing methods CreateInstance and
- GetRowType for DataTable
-
- 2003-02-03 Ville Palo <[email protected]>
- * DataSet.cs: Implemented private method MapType for
- mapping datatypes for XmlSchema
-
- 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
- * DataView.cs: implemented Dispose.
- 2003-01-30 Ville Palo <[email protected]>
- * ExpressionElement.cs: Added new file. This file is for parsing
- and DataData.Select () -methods and DataColumn.Expression -property
- * DataTable.cs: Implemented Select(string) -method
-
- 2003-01-28 Ville Palo <[email protected]>
- * DataSet.cs: One little fix to writing xml
-
- 2003-01-27 Ville Palo <[email protected]>
- * XmlSchemaMapper.cs: Some fixes.
- * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
-
- 2003-01-24 Ville Palo <[email protected]>
- * UniqueConstraint.cs: Do not set columns Unique property true
- as a default.
- * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
-
- 2003-01-18 Ville Palo <[email protected]>
- * DataTableCollection.cs: Now names new DataTable if it doesn't
- already have a name.
-
- 2003-01-17 Ville Palo <[email protected]>
- * XmlSchemaMapper.cs: Improvments.
- * XmlConstaints.cs: Added more constants.
- * DataSet.cs: Improvments of reading and writing xml
- * DataColumn.cs: Added default values of properties.
-
- 2003-01-14 Ville Palo <[email protected]>
- * XmlSchemaMapper.cs: Some improvments
-
- 2003-01-13 Ville Palo <[email protected]>
- * DataRowCollection.cs: Added IndexOutOfRangeException
- * DataTableCollection.cs: Added OnCollectionChanging and
- OnCollectionChanged events.
- * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
- * DataTable.cs: Implemented Copy () and Clone () methods.
- * XmlDataLoader.cs: some fixes.
- * XmlSchemaMapper.cs: comments.
-
- 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
- * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
- 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
- * DataColumnPropertyDescriptor.cs: fixed typo.
- * DataViewManagerListItemTypeDescriptor.cs: added new internal property
- to get the DataViewManager and removed TablePD class.
- * DataTablePropertyDescriptor.cs: TablePD class is now this one as
- suggested by danmorg.
- 2003-01-06 Ville Palo <[email protected]>
- * XmlDataLoader.cs: Moved diffgram stuff to new internal class
- XmlDiffLoader.
- * XmlDiffLoader.cs: new class for diffgrams. Added handling of
- diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
-
- 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
- * DataView.cs: made dataViewManager internal.
- * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
- properties of the object, but the values of the columns present in a
- row.
-
- * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
- which returns a PropertyDescriptorCollection. Created a new class
- derived from PropertyDescriptor that treats Table as an object whose
- properties are DataRowView.
- 2003-01-04 Ville Palo <[email protected]>
- * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
-
- 2003-01-04 Ville Palo <[email protected]>
- * DataColumn.cs: ExtendedProperties is by default !null-
-
- 2003-01-04 Ville Palo <[email protected]>
- * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
- set column's ordinal.
-
- 2003-01-02 Ville Palo <[email protected]>
- * DataSet.cs:
- * XmlDataLoader.cs: XmlReader closing fixes.
- * XmlSchemaReader.cs: Added support for ref=
-
- 2003-01-01 Ville Palo <[email protected]>
- * DataSet.cs:
- - Added XmlReader and XmlWriter Closing.
- - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
- * XmlSchemaMapper.cs
- - Much better way IMHO to map xmlschema than the old one in
- DataSet.cs. Its, more flexible, cleaner, ...
-
- 2002-12-29 Ville Palo <[email protected]>
- * XmlDataLoader.cs: Reading diffgrams.
-
- 2002-12-29 Ville Palo <[email protected]>
- * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
- * DataTable.cs: Added ChanginDataColumn () for triggering
- DataColumnChanging event
-
- 2002-12-28 Ville Palo <[email protected]>
- * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
-
- 2002-12-28 Ville Palo <[email protected]>
- * DataSet.cs: Indentations to WriteXml ()
-
- 2002-12-27 Ville Palo <[email protected]>
- * DataSet.cs:
- * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
- class XmlDataLoader.cs
-
- 2002-12-19 Ville Palo <[email protected]>
- * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
-
- 2002-12-18 Ville Palo <[email protected]>
- * DataSet.cs: Started to implement ReadXml-methods.
-
- 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
- * DataSet.cs: implemented DefaultViewManager and GetList.
- * DataViewManager.cs: a bit of work on IList and ITypedList needed by
- DataList in System.Web.
- * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
- DataViewManager.
- 2002-12-16 Ville Palo <[email protected]>
- * DataRow.cs
- * DataTable.cs: Fixed NullException (rollback -event)
- * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
-
- 2002-12-15 Ville Palo <[email protected]>
- * DataRow.cs:
- * DataRowCollection.cs: Moved event triggering from DataRow to
- DataRowCollection.
-
- 2002-12-09 Ville Palo <[email protected]>
- * DataSet.cs: Little fix to WriteTable () -method
- and DoReadXmlSchema () -method.
-
- 2002-12-06 Ville Palo <[email protected]>
- * DataSet.cs: Clean up to reading xmlschema. This looks much better
- now (work better too), but it not working correctly yet.
-
- 2002-12-04 Ville Palo <[email protected]>
- * DataRow.cs:
- * DataRowCollection.cs: Added some event handlins stuff.
- * DataSet.cs: Some fixes.
- * DataTable.cs: Added event handlers.
-
- 2002-11-30 Ville Palo <[email protected]>
- * DataRowChangeEventArgs.cs: Implemented Action and Row properties
-
- 2002-11-30 Ville Palo <[email protected]>
- * System.Data/DataRow.cs: Added internal property XmlDataID
-
- 2002-11-29 Ville Palo <[email protected]>
- * DataSystem.Data.DataTableCollection.cs:
- Removed HashTable. There could be situations where DataTable
- is added to collection before it hava TableName. So using
- HashTable is impossible.
-
- 2002-11-19 Carlos Guzmán Álvarez <[email protected]>
- * DataRow.cs: an object that is equal to null
- should be allowed to be set in this indexer too
- to be like .NET
- 2002-11-06 Daniel Morgan <[email protected]>
- * DataColumnPropertyDescriptor.cs: added file
-
- * System.Data/DataRowView.cs: started implementation
-
- * DataTable.cs: stubbed more interfaces. Implemented
- IListSource.GetList()
-
- * DataView.cs: stubbed more interfaces. Implemented
- some properties and methods: GetEnumerator(),
- ITypedList.GetItemProperties, Item indexer, CopyTo()
- 2002-05-18 Nick Drochak <[email protected]>
- * DataRow.cs: Fix typo.
|