[Mono-dev] System.Data : patch for DataTable.Select and indexesupdates
Boris Kirzner
borisk at mainsoft.com
Wed Sep 21 12:36:36 EDT 2005
Hello all,
Attached is the patch for DataTable.Select and supporting it fixes for
index updates.
If no one objects I'll commit.
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf
> Of Boris Kirzner
> Sent: Tuesday, September 20, 2005 12:22
> To: mono-devel-list at lists.ximian.com
> Cc: T Sureshkumar
> Subject: [Mono-dev] System.Data : patch for DataTable.Select
> and indexesupdates
>
> Hello all,
> Attached is the proposed patch for DataTable.Select() and
> index updating fixes supporting it.
>
> It has the following main points :
> - Key uses IExpression.Equals for proper comparison of filter
> expressions
> - DataTable reuses indexes created in Select()
> - Index is rebuilded in constructor, so if for some reason
> index can not be builded (for example, bad filter
> expression), Exception is thrown before the index is added to
> parent object (table) indexes collection.
>
--
Boris Kirzner
Mono R&D team, Mainsoft Corporation.
Blogging at http://boriskirzner.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system.data.keyequals.patch
Type: application/octet-stream
Size: 6689 bytes
Desc: system.data.keyequals.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050921/839d7227/attachment.obj
More information about the Mono-devel-list
mailing list