Extended CloneCopy() test with ReadOnly field
authorCarsten Schlote <c.schlote@konzeptpark.de>
Fri, 12 Nov 2010 15:56:46 +0000 (16:56 +0100)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 14 Feb 2011 15:52:22 +0000 (10:52 -0500)
commit2392c6a50d5640aefa3c0f9e68fb261b4f06076e
tree1fc3e63ad09420ecd1a654f42c09b9e410a5d286
parent6afc6ea42fadb2d03c8f0b9f130be8d0f92eec65
Extended CloneCopy() test with ReadOnly field

- It is recommended to set auto-increment fields to ReadOnly. When
  calling Copy() the check for ReadOnly must be omitted, otherwise
  you get an exception.
  The RadOnly attribute is set for the parent "Id" field to test
  proper handling of read-only fields.
- Source reindention and cleanups.

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
mcs/class/System.Data/Test/System.Data/DataSetTest.cs