SqlCeDataReader.GetSchemaTable - Sample
I have written a cute sample to show how different fields change with different constraints and indexes on a table. If you are wondering how each of these flags IsUnique, IsKey, IsRowVersion change, have a quick look at sample application which is attached to this blog post.
Thanks,
Vamshi Krishna B