| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715 |
- 2005-11-26 Konstantin Triger <[email protected]>
- * ConflictOption.cs: TARGET_JVM include.
- 2005-11-11 Senganal T <[email protected]>
-
- * ConflictOption.cs (new file)
- - Added ConflictOption Enumeration
- * DataTableReader.cs
- * IDataRecord2.cs
- - GetProviderSpecificFieldType : Corrected the method name
- 2005-11-11 Senganal T <[email protected]>
- * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
- compatibility.
- * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
- for NET_2_0 compatibility.
- Fixes bug #76517
- 2005-10-20 Atsushi Enomoto <[email protected]>
- * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
- Fixed bug #76480.
- 2005-10-14 Sureshkumar T <[email protected]>
- * DataView.cs: Correct multiple throwing of events. Patch from
- Marc Haisenko.
- (RowStateFilter): Fire ListChangedEvent.
- (ApplyDefaultSort): Fire ListChangedEvent.
- (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
- (IBindingList.Find): Implemented.
- 2005-10-11 Sureshkumar T <[email protected]>
- * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
- 2005-09-26 Lluis Sanchez Gual <[email protected]>
- * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
- untyped datasets. Fixes bug #76101.
- 2005-09-21 Boris Kirzner <[email protected]>
- * DataRow.cs: Fixes for index updating.
- * DataTable.cs:
- - Reset case-sensitive indexes also if their filter contains columns
- of type string.
- - Use GetIndex instead of FindIndex, so the indexes created in Select()
- are reused.
- * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
-
- 2005-09-20 Sureshkumar T <[email protected]>
- * DataView.cs (Sort): Apply default Sorting Order if Sort property
- is reset to null. Sort property handles this. Patch from Marc.
- * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
- allowing [ & ] in DataView.Sort string.
- 2005-09-01 Boris Kirzner <[email protected]>
- * System.Data/DataRowCollection.cs: indexes should be updated even if
- EnforceConstraints is false. Check for EnforceConstraints in
- ValidateDataRowInternal.
- 2005-08-08 Gert Driesen <[email protected]>
- * DataView.cs: Changed accessibility of dataTable, rowState and
- rowCache field to internal to fix public API. Assigned TypeConverter
- to Table property.
- * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
- * Constraint.cs: IsConstraintViolated is now internal.
- * UniqueConstraint.cs: IsConstraintViolated is now internal.
- 2005-08-05 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : When "dataset element" has identity
- constraints, then first reserve constraints room for them and then
- process elements, skipping pkey creation if there is already
- reserved one. Fixed bug #75711.
- 2005-08-05 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
- the same (QNamed) element again when it was already evaluated as
- not simple type. Fixed one part of bug #75711.
- 2005-08-02 Boris Kirzner <[email protected]>
- * XmlSchemaDataImporter.cs : Data relations should be processed after the
- keys, so no redundant constraints created while relations processing.
- 2005-07-25 Boris Kirzner <[email protected]>
- * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
- added ifdef TARGET_JVM.
- 2005-07-22 Sureshkumar T <[email protected]>
- * DataViewSettingCollection.cs, DataTableCollection.cs,
- DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
- DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
- DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
- - updated attributes & attribute descriptions to match with
- masterinfos.
- * DataView.cs: changed protected members
- rowstate,rowcache,dataTable to protected internal.
- * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
- changed InConstraintViolated to protected internal.
- * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
- with NET_2_0 define.
- 2005-07-21 Sureshkumar T <[email protected]>
- * ForeignKeyConstraint.cs:
- - IsConstraintViolated (): no matter what EnforceConstraints is,
- this function now honestly validates. It is upto the caller to run
- this or not.
- - AddToConstraintCollectionSetup (): AssertConstraint according to
- EnforceConstraints.
-
- 2005-07-21 Boris Kirzner <[email protected]>
- * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
- * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
- 2005-07-19 Sureshkumar T <[email protected]>
- * DataTable.cs - CopyConstraints (): copy constraints only if it
- does not exist.
- * DataSet.cs - Copy ():
- - use activator.CreateInstance to create a typed dataset.
- - copy tables if target does not exist, otherwise, just add rows.
- - add relation only if it does not exists.
- Typed datasets create the constraints & relations through
- constructors. Fixes bug #75211.
- 2005-07-14 Sureshkumar T <[email protected]>
- * DataView.cs: Patch from Marc Haisenko to throw descriptive error
- message when accessing Item, with invalid index.
- 2005-07-14 Sureshkumar T <[email protected]>
- reapplied patch from Marc Haisenko.
- * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
- is never null.
- 2005-07-13 Sureshkumar T <[email protected]>
- * DataRelationCollection.cs: adding a relation with same set of
- parent columns & child columns, should not be allowed.
- 2005-07-08 Sureshkumar T <[email protected]>
- * DataTableReader.cs: GetSchemaTable: DataType column should be
- passed a type of Type.
- * DataRow.cs: Load : Fired necessary events.
- * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
- necessary events.
- 2005-06-28 Sureshkumar T <[email protected]>
- * DataRow.cs: Delete (): if row is detached, do nothing.
- fixes bug #75388.
- 2005-06-22 Sureshkumar T <[email protected]>
- * DataRow.cs: Added method MergeValuesToRow copy merge two rows
- according to the merge rules.
- * MergeManager.cs: (MergeRow): use MergeValuesToRow
- API. CopyValuesToRow simply makes the target row same as source
- row. Rather, MergeValuesToRow merges with the target row according
- to the merge rules.
- 2005-06-19 Konstantin Triger <[email protected]>
- * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
- 2005-06-17 Jordi Mas i Hernandez <[email protected]>
- * DataViewManager.cs: fixes exception and creates DataView
- 2005-06-15 Sureshkumar T <[email protected]>
- * DataRow.cs: CheckChildRows: cascade parent changes to child rows
- only if there is a change in columns of the fk constraint.
- 2005-06-14 Sureshkumar T <[email protected]>
- * DataSet.cs: GetChanges: if row is deleted, get parent rows based
- on original version. fixes bug #75227.
- 2005-06-13 Sureshkumar T <[email protected]>
- * DataRowCollection.cs: Find (keys, version): Added an overload to
- find keys matching given DataViewRowState filter. Used in
- DataSet.Merge and DataTable.LoadDataRow.
- * DataTable.cs: LoadDataRow (values, LoadOption): Use
- DataRowCollection.Find (object [], DataViewRowState) overload.
- * DataRow.cs:
- - CopyValuesToRow: Create target "records" out of loop. Records
- should be created once, not for each column. Dispose Unused target
- records.
- * MergeManager.cs:
- - MergeRow: Find rows with matching original records. If not,
- select with current values.
- - MergeRow: While adding new row, use NewNotInitializedRow.
- * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
- if EnforceConstraints is false.
- 2005-06-10 Sureshkumar T <[email protected]>
- * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
- a new current record.
- * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
- * MergeManager.cs: Merge: Temporarily disable
- EnforceConstraints. Patch from [email protected] (George
- Barbarosie).
- 2005-06-09 Jordi Mas i Hernandez <[email protected]>
- * DataView.cs: fixes GetListName
- 2005-06-02 Atsushi Enomoto <[email protected]>
- * XmlSchemaConstants.cs,
- XmlSchemaDataImporter.cs,
- XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
- George Barbarosie. Fixed bug #75121.
- * XmlSchemaMapper.cs : it is not used anymore, so just removed.
- 2005-05-31 Boris Kirzner <[email protected]>
- * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
-
- 2005-05-29 Konstantin Triger <[email protected]>
- * This patch fixes #74813
- * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
- * DataRowView.cs: movo the logic of creating the child view to the DataView
- * RelatedDataView.cs: perform correct init.
- 2005-05-25 Sureshkumar T <[email protected]>
- * DataTable.cs: Reworked DataTable.LoadDataRow method after
- regressions caused by Index redesign.
- * DataRow.cs: Load : reworked.
- 2005-05-25 Konstantin Triger <[email protected]>
- * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
- 2005-05-22 Konstantin Triger <[email protected]>
- * DataTable.cs, DataColumn.cs: in continuation to the previous fix - moving the common logic to 1 function and throwing the correct exception in any flow
- 2005-05-20 Sureshkumar T <[email protected]>
- * DataTable.cs: CreateRecord :value should be set to auto
- increment value or default value if the given value is null.
- 2005-05-16 Konstantin Triger <[email protected]>
- * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
- 2005-05-16 Konstantin Triger <[email protected]>
- * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
- * DataTable.cs: Added CompareRecords, which compares records in column order
- 2005-05-16 Sureshkumar T <[email protected]>
- * DataRow.cs:
- * DataTable.cs: quick fix to make build 2.0 profile (follow up for
- check in 2005-05-16). Merge with previous changes.
- 2005-05-11 Sureshkumar T <[email protected]>
- fix for "import row does not import deleted records"
- * UniqueConstraint.cs: Make a way to access value even from a
- deleted record. deleted records are added to the collection by
- ImportRow method.
- * DataRow.cs:
- - Added restriction-less methods GetValue to fetch a
- value even if it is in deleted state.
- - If a row is detached, don't try to delete it from indexes.
- - sanity check for record_index in CopyValuesToRow method
- 2005-05-05 Sureshkumar T <[email protected]>
- * DataTableReader.cs: Implemented Delete handler and move the
- current pointer accordingly.
- 2005-05-04 Sureshkumar T <[email protected]>
- * DataTableReader.cs: Added event handlers to make reader stable
- when the datasource is modified. Thanks to Umadevi for giving the
- review comments for this implementation.
- * DataTable.cs: Clear (): Raise TableCleared event.
- * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
- * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
- event.
- * DataRow.cs: AcceptChanges: raise row changing & row changed
- events.
- * DataRowCollection.cs: Clear : remove rows from indexes
- 2005-05-02 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
- This fixes bug #74784.
- 2005-04-29 Sureshkumar T <[email protected]>
- * DataTableReader.cs: removed use of _first. throw if given index
- is out of range of columns. Copy DataTable [] to local array so
- that not to be disturbed.
- 2005-04-27 Sureshkumar T <[email protected]>
- * DataTableReader.cs: Implemented most of the TODO.
- 2005-04-22 Sureshkumar T <[email protected]>
- * LoadOption.cs: Changed the enums. Keeping old values for
- migration.
- * DataTable.cs: Implemented methods Load and its overloads. Also
- implemented LoadDataRow.
- * DataRowCollection.cs: Added a variation of the Find method to
- return a row even if it is of state Deleted. This is required for
- DataTable.LoadDataRow method.
- * DataRow.cs: Implemented internal helper method Load for loading
- values from an object array and given an LoadOption (2.0 feature).
- * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
- alphabetically.
- 2005-05-16 Konstantin Triger <[email protected]>
- * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
- * DataTable.cs : The row should be validated when imported
- * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
- 2005-04-26 Boris Kirzner <[email protected]>
- * UniqueConstraint.cs :
- - Add indication whenever the constraint belongs to collection.
- - Calculation of IsPrimaryKey simplified.
- - If constraint is based on single column, the column becomes unique.
- - Use boolean IsConstraintViolated() instead of AssertConstraint().
- - Use Index.Duplicates to proper exception message formatting.
- - AssertConstraint(DataRow) changed to suite new indexes interface.
- - Added CanRemoveFromCollection method.
- - Contains() method renamed to IsColumnContained().
- * RelatedDataView.cs : added new class.
- * MergeManager.cs :
- - Reset indexes after merge.
- - Add new tables when row array is merged into dataset.
- - Clean proposed record in MergeRow.
- - Inherit nesting on creating new relations in target data set.
- - Avoid double loop on constraints collection.
- * Locale.cs : added new class.
- * ISafeDataRecord.cs : added new interface.
- * Index.cs : commented out. Index implementation moved to System.Data.Common.
- * ForeignKeyConstraint.cs :
- - No more use of childColumnsExtended since new indexes allow duplicate records.
- - Constraints can not be created on expression columns.
- - Removed unnecessary delegation.
- - Use boolean IsConstraintViolated() instead of AssertConstraint().
- - Use proper exception message formatting.
- - Contains() method renamed to IsColumnContained().
- * DataViewRowState.cs : use enum members to simplify notation.
- * MergeManager.cs : implemented RelationCollectionChanged().
- * DataView.cs : new implementation.
- * DataTableCollection.cs :
- - Added boundary check in indexer.
- - More accurate handling in AddRange().
- - Raise event in Remove().
- * DataTable.cs :
- - Hold primary key as constraint.
- - Added accurate handling of DefaultView.
- - Hold DataRowBuilder per table.
- - Proper exception messages if enforce Constraints is violated.
- - If there is no rows, Compute() returns DBNull.
- - Use DataRow properties instead of private members.
- - CopyProperties() fixed.
- - Raise proper events in EndInit().
- - Proper order of violation checks in EndLoadData().
- - Create array of rows using NewRowArray().
- - ImportRow handles rows according to their versions.
- - LoadDataRow make use of records (instead of raw object array).
- - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
- - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
- - Removed redundant RowSorter and Sortable column classes.
- - ParseSortString() fixed to threat bracketed column names.
- - Table holds collection of property descriptors.
- * DataSet.cs :
- - Reset table case sensitive indexes on CaseSensitive change.
- - EnforceConstraints update logic moved to internal method (used by DataTable).
- - InAddChangedRow first add row and than copy values for proper handling of default values.
- * DataRowView.cs :
- - Changed private member names to suite name convention.
- - CancelEdit() fixed.
- - CreateChildView() delegates to DataView.
- - IsNew fixed.
- - Proper exception messages in indexers.
- - RowVersion uses DataView.
- - GetProperties() delegates to corresponding table if needed.
- * DataRowCollection.cs :
- - Common Add() logic moved to AddInternal() (used also by DataTable).
- - Removed redundant check from Contains().
- - Dalegate Find() calls when possible.
- - Remove() fixed.
- - RomoveAt() delegates to Remove().
- - Optimized constraints check in row validation.
- * DataRelationPropertyDescriptor.cs : added new class.
- * DataRelationCollection.cs :
- - Indexers fixed.
- - Fixed order of actions in AddCore().
- - RemoveCore() also delegates to base.
- - Add relation to dataset also in AddCore().
- - Remove relation from dataset also in RemoveCore().
- - InTransition hold a data relation so we can properly identify the "in transition" state.
- - Added threat of parent and child table s property descriptors in Add().
- - Common Add() logic moved to AddCore().
- - Clear() fixed.
- - Remove() threats "in transition" state properly.
- - Remove methods delegate to single implementation.
- * DataColumnPropertyDescriptior.cs :
- - Added new constructor.
- - Commented out redundant method.
- * DataColumnCollection.cs :
- - Boundary check in indexer.
- - RegisterName and UnregisterName become internal (used also by DataColumn).
- - Fixed AddRange().
- - Fixed CanRemove().
- - Rethrow correct exception in Clear();
- - Change in collection resets parent table property descriptors.
- - Added PostEndEdit() helper method (used by DataTable).
- * DataColumn.cs :
- - Private member names changed to suite name convention.
- - Created method for CanAutoIncrement() logic.
- - Proper handling of column name update.
- - Proper exception messages on expression update.
- - Proper namespace handling (delegates to table when needed).
- - Removed redundant check in Unique update.
- - Implemented internal Clone().
- - GetParentRalation() and GetChildRelation() become private.
- * Constraint.cs :
- - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
- - Simplified index update.
- * ConstraintCollection.cs :
- - Use Locale instead of CaseSensitive in column names comparison.
- - Removed #ifdef
- - Rethrow correct exception type in Add().
- - Proper update of table primary key in Add().
- - Delegate CanRemove() to constraint.
- - Remove table primary key in Clear();
- - Delegate "can remove" check to constraint in Remove().
- - Removed unnecessary methods and properties.
- * DataRow.cs :
- - RowSate becomes calculated property.
- - Use properties instead of private members where possible.
- - Fixed indexer.
- - Fixed order of actions in ItemArray update.
- - Fixed DetachRow().
- - Added ImportRecord() method.
- - Removed redundant SetValuesFromDataRecord().
- - Fixed IndexFromVersion().
- - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
- - Fixed AcceptChanges().
- - Fixed creating proposed version in BeginEdit();
- - Added record disposal in Delete().
- - Fixed CheckChildRows().
- - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
- - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
- - GetColumnError() delegates to another implementation.
- - HasVersion() fixed.
- - RejectCahnges checks on child rows before passing through.
- - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
- - CopyErrors() logic moved to separate method (used also by DataTable).
- * ExpressionElement.cs : added new class.
- * Res.cs : added new class.
- 2005-04-20 Jordi Mas i Hernandez <[email protected]>
- * DataViewManager.cs: implements TypedList.GetListName used in SWF
- 2005-04-19 Atsushi Enomoto <[email protected]>
- * DataRowView.cs : indexer should access to DataRow with proper
- DataRowVersion. Fixed bug #74650.
- 2005-04-18 Sureshkumar T <[email protected]>
- * DataRow.cs: if there are no mapping fields, fill with default
- value.
- 2005-04-17 Atsushi Enomoto <[email protected]>
- * DataView.cs : Delete() should not try to remove row twice.
- Fixed bug #74631.
- 2005-04-13 Atsushi Enomoto <[email protected]>
- * DataTable.cs : Use GetRowType() for the base of the returning array
- type of Select(). Fix by Gerhard Rittweger.
- * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
- 2005-04-13 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs : custom relation was not added to
- Relations property. The second entry of bug #69276 was fixed.
- Patch by Daniel Rodriguez.
- 2005-04-07 Lluis Sanchez Gual <[email protected]>
- * DataRowCollection.cs: Fix the signature of the Add method
- for NET_2_0.
- 2005-03-16 Atsushi Enomoto <[email protected]>
- * DataRow.cs : on importing row, it was copying data from incorrect
- DataRow. This fixes bug #73288.
- 2005-03-07 Jackson Harper <[email protected]>
- * DataViewManagerListItemTypeDescriptor.cs: Implement missing
- features. These are needed for System.Windows.Forms databinding.
- 2005-02-25 Atsushi Enomoto <[email protected]>
- * DataColumn.cs : setting negative value on MaxLength of SimpleContent
- column is still valid.
- 2005-02-15 Atsushi Enomoto <[email protected]>
- * XmlSchemaWriter.cs : new file for outputting XmlSchema.
- * DataSet.cs : removed rewritten code in XmlSchemaWriter.
- * XmlConstants.cs : added UseCurrentCulture constant.
- * DataTable.cs :
- Use new Xml Schema writer.
- Use XmlSchemaDataImporter as we use in DataSet.
- 2005-02-10 Atsushi Enomoto <[email protected]>
- * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
- should target only child rows.
- 2005-02-03 Atsushi Enomoto <[email protected]>
- * DataViewManager.cs: misuse of ReadStartElement(string).
- * DataRowView.cs : removed some MonoTODO.
- 2005-02-02 Sureshkumar T <[email protected]>
- Ankit Jain <[email protected]>
- * DataColumn.cs: throw exception if the column is part of a
- relationship, when chaning the data type. Added methods
- "GetParentRelation ()" and "GetChildRelation ()" get the relation
- which contains the current column
- * DataRelation.cs: Added method "Contains (DataColumn)" to check
- whether the relation contains the given column.
- fixes nunit failure: DataRelationTest.InvalidConstraintException2.
- 2005-02-02 Sureshkumar T <[email protected]>
- * DataColumnCollection.cs: implemented todo item "check for
- constraints" when removing columns from table.
- * DataRowCollection.cs: Clear (): don't have to throw child key
- constraint exception when the child table does not have any
- rows. safe to remove parent rows.
- * UniqueConstraint.cs: added method "Contains (DataColumn)" to
- check whether a column is part of UniqueConstraint.
- * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
- lookInParent)" to check whether a column is part of foreignkey.
- fixes nunit failure: DataTableTest.ClearTest ()
- 2005-02-02 Sureshkumar T <[email protected]>
- * ForeignKeyConstraint.cs: validating columns: move checking
- "tables are of same dataset" before "checking column types".
- fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
-
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataViewManager.cs : let's just use StringWriter instead of
- XmlTextWriter (to avoid empty tag string mismatch annoyance.)
- * DataView.cs : implemented BeginInit() and EndInit(). Don't update
- rows during init phase until EndInit() is invoked. During init phase,
- just hold properties such as Sort that affects on rows.
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
- set_Table clears Sort and RowFilter.
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataView.cs :
- - Clear() should clear AddNew cache.
- - Open() invokes Reset().
- - ConstraintCollectionChanged() itself does not invoke OnListChanged().
- - Reset() does not Open, Close and Update Index.
- - UpdateIndex() can be invoked even if it has no table.
- - Reset event is invoked always after actual query to table.
- - set_Table should raise PropertyDescriptorChanged event.
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
- when overriden, no column change events are fired).
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
- checking target tables. They also should raise events if required.
- 2005-02-02 Atsushi Enomoto <[email protected]>
- * DataView.cs : simplify code with UnsortedList.
- 2005-02-01 Atsushi Enomoto <[email protected]>
- * DataView.cs : Mostly reimplemented.
- - UpdateIndex() is invoked only when it is required (results in
- significant performance improvement).
- - Use SortedList and wrapper OptionalSortedList which switches
- between SortedList (with Sort) and UnsortedList (without Sort).
- - DataView itself now contains two collections for rowviews:
- Table rows based pool and AddNew() based cache. Consider those
- two collections in every members.
- - Reset() does not clear rows. Just invokes UpdateIndex().
- - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
- which is required to handle state changes.
- - Reimplemented Find() and FindRows() because of internal changes.
- 2005-02-01 Atsushi Enomoto <[email protected]>
- * DataTable.cs : Fixed row comparer. Even if every of the sort target
- columns are identical for two rows, they should not be regarded as
- the same unless they are Object.ReferenceEquals.
- 2005-02-01 Atsushi Enomoto <[email protected]>
- * DataRowCollection.cs : on adding a row, should raise
- ChangingDataRow() as well as ChangedDataRow().
- 2005-01-31 Sureshkumar T <[email protected]>
- * DataRow.cs: SetParentRow (): use relation.ParentColumns &
- relation.ChildColumns instead of relation.ChildKeyConstraint.*
- because createConstrains flag may be false when creating data
- relations. Hack along with Ankit Jain.
-
- 2005-01-31 Atsushi Enomoto <[email protected]>
- * DataView.cs :some interface implementations.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * DataView.cs : Add to table only when the row is not in the table.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * DataView.cs : implemented FindRows() (btw we should not use
- DataTable since there are detached rows by AddNew().)
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * DataView.cs :
- Code cleanup: privatify some members, remove unused methods.
- Some event-based invocation methods should not raise NotImplemented.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * UniqueConstraint.cs : mostly reverted the previous patch + check
- IsPrimaryKey before validation.
- 2005-01-28 Atsushi Enomoto <[email protected]>
- * DataView.cs : Fixed duplicate insertion to Hashtable.
- * UniqueConstraint.cs : Unique constrained pair of columns could be
- nullable.
- 2005-01-27 Atsushi Enomoto <[email protected]>
- * DataView.cs :
- Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
- when the same value is being set.
- Examined UpdateIndex() and marked FIXME where MS does not invoke it.
- Removed unused OnColumnChanged().
- Now store rowViewPool and reuse DataRowView objects.
- Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
- 2005-01-27 Atsushi Enomoto <[email protected]>
- * DataViewSettings.cs : no MonoTODO anymore.
- * DataViewManager.cs : pass itself to new DataView() (new ctor).
- * DataRowView.cs : GetHashCode() returns its Row's hash.
- * DataTablePropertyDescriptor.cs : use new ctor().
- * DataView.cs : added new ctor()s that accept DataViewManager.
- 2005-01-27 Atsushi Enomoto <[email protected]>
- * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
- (it is still detached). So handle those rows differntly.
- CancelEdit(), EndEdit() and Delete() propagates those events to
- DataView (and handle row collection).
- Eliminate "throw new Exception()".
- Don't catch all the exception thrown in ListChanged event.
- * DataTable.cs : made RowSorter as internal and use it in DataView.
- no need to pass DataRow[] to .ctor().
- 2005-01-27 Atsushi Enomoto <[email protected]>
- * DataTable.cs : don't create DefaultView unless it is required. It
- significantly improves performance. (i.e. DataView perf. is sick ;-)
- 2005-01-27 Atsushi Enomoto <[email protected]>
- * DataViewSetting.cs,
- DataViewSettingCollection.cs,
- DataViewManager.cs : implemented basic members.
- 2005-01-26 Atsushi Enomoto <[email protected]>
- * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
- Eliminate "throw new Exception".
- 2005-01-25 Atsushi Enomoto <[email protected]>
- * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
- regardless of index existence.
- 2005-01-25 Atsushi Enomoto <[email protected]>
- * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
- boxing.
- 2005-01-25 Sureshkumar T <[email protected]>
- * DataTable.cs: ImportRow :Do not add to rows collection if the
- import row is in detached state.
- 2005-01-25 Sureshkumar T <[email protected]>
- * DataRow.cs: CopyValuesToRow : set the column value with the
- default version of the given row.
- * DataTable.cs: ImportRow: Copy values before adding row.
- * DataSet.cs: AddChangedRow: Add the row to the table after
- copying values.
-
- Fixes bug #67317. Patch by Ankit Jain.
- 2005-01-25 Atsushi Enomoto <[email protected]>
- * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
- * DataRow.cs : Expose editing status internally.
- 2005-01-25 Atsushi Enomoto <[email protected]>
- * DataView.cs : missing attributes.
- 2005-01-24 Atsushi Enomoto <[email protected]>
- * DataRowView.cs : implemented CreateChildView().
- 2005-01-24 Atsushi Enomoto <[email protected]>
- * DataTable.cs, DataView.cs :
- Optimized DataView to compile only once RowFilter and Sort when
- those properties are set. To make it possible, extracted
- SortableColumn out of DataTable and added internal DataTable.Select()
- that accepts precompiled IExpression and SortableColumns[].
- 2005-01-24 Atsushi Enomoto <[email protected]>
- * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
- SimpleContent. (However, it is weird but it never fails when we set
- ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
- 2005-01-21 Atsushi Enomoto <[email protected]>
- * DataRow.cs : more Current -> Default fixes. Check if it should throw
- VersionNotFoundException. Patch by Ankit Jain.
- 2005-01-21 Atsushi Enomoto <[email protected]>
- * DataRow.cs : Default selects the right version for the current
- state of the row. Current is not always available. Also change
- that for GetParentRow(). Patch by Ankit Jain.
- 2005-01-21 Atsushi Enomoto <[email protected]>
- * DataTable.cs : CopyColumn() should copy AutoIncrement after
- DefaultValue, or it will raise an error in some cases.
- 2005-01-20 Atsushi Enomoto <[email protected]>
- * ConstraintCollection.cs : Add() should throw ArgumentException when
- the argument constraint fails validation.
- DataTable.cs : set_PrimaryKey should throw ArgumentException when
- the argument contains constraints which fail validation.
- 2005-01-19 Sureshkumar T <[email protected]>
- * DataRelationCollection.cs:
- Method Remove : Donot throw exception if DataRelation argument is
- null in DataRelationCollection.Remove method.
- Method RemoveAt : Exception should be IndexOutOfRangeException if
- row index is not in list range.
- Fixes nunit failures DataRelationCollection.Remove and
- DataRelationCollection.RemoveAt.
- 2005-01-19 Sureshkumar T <[email protected]>
- * ConstraintCollection.cs: Donot throw exception if constraints
- are null in AddRange method. Check for null before using the
- argument.
- fixes bug #69381.
- 2004-01-19 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs,
- XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
- or a table, reusing code block in XmlDataInferenceLoader.
- This fixes bug #60118.
- 2004-01-19 Atsushi Enomoto <[email protected]>
- * XmlDiffLoader.cs : Ankit Jain <[email protected]> has a conflicting
- patches and some good catches. Some attributes should be skipped,
- and loaded value must be typed.
- 2004-01-19 Atsushi Enomoto <[email protected]>
- * XmlConstants.cs,
- XmlDataInferenceLoader.cs,
- XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
- * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
- 2005-01-18 Sureshkumar T <[email protected]>
- Fix for bug #66838. This patch is submitted by "Ankit Jain"
- <[email protected]> and refactored.
- * DataRow.cs: Allows to set a parent row even if the row is in
- detached state.
- * DataRelation.cs: method "UpdateConstraints" is added to check
- and create missing keys when adding a relation. This is refactored
- approach from DataRelationCollection.Add method.
- * DataRelationCollection.cs: AddCore methods of all relation types
- are synchronized. A Check for existing constraints is
- done. Relation is added to the list only if all checks are passed.
- 2004-01-18 Atsushi Enomoto <[email protected]>
- * DataColumnCollection.cs : Clear() throws ArgumentException that
- wraps thrown innerException.
- * XmlSchemaDataImporter.cs : removed FIXMEs.
- 2004-01-12 Atsushi Enomoto <[email protected]>
- * DataSet.cs : When serializing DataTable, BuildSchema() is passed
- null relation collections.
- Quick fix for XmlSerializer deserialization. It does not require
- XML Schema included.
- 2004-01-11 Atsushi Enomoto <[email protected]>
- * DataSet.cs,
- CustomDataClassGenerator.cs :
- In DataSet class, IXmlSerializable.GetSchema() returns null.
- In strongly-typed class, it returns schema.
- 2004-01-07 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : test driver class should be excluded.
- 2004-12-01 Miguel de Icaza <[email protected]>
- * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
- is never null.
- 2004-11-10 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs : generated foreign key constraint
- construction code was creating empty child columns and thus it
- was invalid. This fixes bug #69276 (patch by Martin Voelkle).
- 2004-11-02 Atsushi Enomoto <[email protected]>
- * CustomDataClassGenerator.cs : custom DataTable ctor should call
- InitializeFields(), and those DataColumns created by that method
- should take data type. This should fix bug #68972.
- 2004-10-15 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Also clear UnhandledAttributes ArrayList before
- generating next attribute column schema. This fixes bug #68432.
- 2004-10-14 Umadevi S <[email protected]>
- * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
- correct subclass is returned. This fixes bug #67631
-
- 2004-10-14 Umadevi S <[email protected]>
- * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
- correct subclass is returned. This fixes bug #67627
- 2004-10-13 Atsushi Enomoto <[email protected]>
- * DataSet.cs : clear UnhandledAttributes ArrayList before generating
- next element column schema. This fixes bug #68256.
- 2004-10-12 Atsushi Enomoto <[email protected]>
- * DataSet.cs : now xs:schema contains xmlns="".
- This fixes bug #68008.
- 2004-10-12 Atsushi Enomoto <[email protected]>
- * DataSet.cs : DBNull attribute column should not be written as
- empty attribute. This fixes bug #68007.
- 2004-10-12 Atsushi Enomoto <[email protected]>
- * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
- DataColumn.ReadOnly was not handled. This fixes bug #68005.
- Attribute defaultValue was not handled too.
- 2004-10-07 Atsushi Enomoto <[email protected]>
- * DataSet.cs :
- - When AllowDBNull is false on attribute DataColumn, its schema
- should contain use="required". This fixes bug #66792.
- - If MaxLength is set on attribute DataColumn, the mapped schema
- type should contain maxLength facet. This fixes bug #66793.
- 2004-10-04 Atsushi Enomoto <[email protected]>
- * DataSet.cs : For a row, when a relation is not nested, then it is
- still output target since it won't be written as a child of its
- parent. It fixes bug #66379.
- 2004-10-03 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Attribute constraint field XPath must be written as
- @blah. This fixes bug #66366.
- 2004-09-28 Umadevi S <[email protected]>
- * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
- 2004-09-24 Sureshkumar T <[email protected]>
- * DataSet.cs : Don't check constraints for dataset clear
- * DataRowCollection.cs : check for EnforceConstraints flag
- before checking foriegn key constraints in Clear method
- * DataTable.cs : Redundant checking removed in Clear method as it is
- checked in DataRowCollection.Clear method.
- 2004-09-19 Sureshkumar T <[email protected]>
- * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
- hence, adding a row cache is necessary if the original row happens to be current.
- fixed bug #63097
- 2004-08-23 Martin Baulig <[email protected]>
- * XmlDataInferenceLoader.cs (Driver): Make this class internal,
- not public.
- 2004-08-18 Umadevi S <[email protected]>
- * DataView.cs - Completed most of the event handling.
- Thanks to Punit Todi <[email protected]> for implementing most of it.
- Thanks to Boris Kirzner <[email protected]> for commenting and suggesting changes to the implementation.
- * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
- 2004-08-06 Atsushi Enomoto <[email protected]>
- * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
- 2004-08-05 Atsushi Enomoto <[email protected]>
- * XmlConstants.cs : Added constants for "msprop" support.
- * DataSet.cs : ExtendedProperties should be written in the schema.
- This fixes bug #61233.
- 2004-07-27 Atsushi Enomoto <[email protected]>
- * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
- used. There were also some culture dependency problems to write int.
- 2004-06-27 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : It was not always filling relation
- child table information correctly. This fixes bug #60742.
- 2004-06-23 Umadevi S <[email protected]>
- * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
- 2004-06-22 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
- schema is inside the document element (as created in XmlWriteMode
- .WriteSchema), it should read schema from that non-document element.
- This fixes one case reported in bug #60470.
- 2004-06-20 Atsushi Enomoto <[email protected]>
- * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
- inference target. For bug #60470. (MS does not support schema
- document inference and results in unconsistent dataset structure.)
- 2004-06-20 Atsushi Enomoto <[email protected]>
- * DataTableCollection.cs : reset the table's DataSet to null when
- removing a table from this collection.
- * DataTable.cs : When Namespace is not specified explicitly, its
- Namespace property reflects DataSet's Namespace if exist.
- This fixes bug #60469.
- 2004-06-18 Gert Driesen <[email protected]>
- * DBConcurrentcyException.cs: CRLF to LF
- * DataViewSetting.cs: CRLF to LF
- 2004-06-18 Gert Driesen <[email protected]>
- * DataViewSetting.cs: renamed fields to match MS.NET
- 2004-06-18 Gert Driesen <[email protected]>
- * DBConcurrencyException.cs: fixed serialization compatibility with
- MS.NET
- 2004-06-17 Boris Kirzner <[email protected]>
- * ChangeLog : Fix for misspelled words.
- 2004-06-17 Boris Kirzner <[email protected]>
- * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
-
- 2004-06-17 Boris Kirzner <[email protected]>
- * DataTable.cs :
- - Table stores default values for columns in special default values row.
- It is allocated once (in NewRow).
- - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
- - OnRemoveColumn has nothing to perform by now.
- 2004-06-17 Boris Kirzner <[email protected]>
- * DataRow.cs :
- - Changed access of original, current and proposed indexes to internal.
- - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
- - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
- - Use DataContainer.CopyValue and default values row for faster set of default values in row.
- - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
- Care about Null and DBNull values is now in DataContainer.
- - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
- - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
- - Fix in CopyState : clone column errors.
- - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
- 2004-06-17 Boris Kirzner <[email protected]>
- * DataColumnCollection.cs :
- - Fix : Add() now delegates to Add(DataColumn).
- - autoIncrement list holds DataColumn objects, and not just column names.
- 2004-06-17 Boris Kirzner <[email protected]>
- * DataColumn.cs :
- - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
- - DefaultValue fixes. Default value from now on is also stored in special record in
- DataTable, so we're able to set default value for the column faster (typed).
-
-
- 2004-06-15 Atsushi Enomoto <[email protected]>
- * DataSet.cs : children of non-root rows were not properly written.
- Fixed bug #53959.
- 2004-06-10 Umadevi S <[email protected]>
- * DataRelation.cs - Constructor
- - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
- 2004-06-06 Atsushi Enomoto <[email protected]>
- * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
- 2004-06-04 Gert Driesen <[email protected]>
- * Constraint.cs: marked methods internal to fix public API
- * ConstraintCollection.cs: to fix public API, use
- DataTable.fInitInProgress to check whether initialization
- of DataTable is in progress
- * DataColumn.cs: added stubs for missing methods
- * DataRowBuilder.cs: marked Table property internal to
- fix public API
- * DataSet.cs: removed extra empty destructor, marked
- OnMergeFailed internal to fix public API
- * DataTable.cs: use fInitInProgress field to hold init
- status, to match MS.NET
- * DataView.cs: added missing attributes on IsOpen
- 2004-06-03 Atsushi Enomoto <[email protected]>
- * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
- in XmlNamespaceManager.
- 2004-06-03 Atsushi Enomoto <[email protected]>
- * DataSet.cs : complex table content child was not properly added
- when it is the only one child in the parent table. Fixed bug #53959.
- 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.
|