* AssemblyInfo.cs: added InternalsVisibleTo for
System.ComponentModel.DataAnnotations (needs
ReflectionPropertyDescriptor)
2009-06-23 Marek Habersack <[email protected]>
* MetaTable.cs: constructor now takes ContextConfiguration instead
of a boolean and uses the config to determine value of the
ScaffoldAllTables property. Also, if context config is present,
makes sure to register the associated type description provider
(if any) with TypeDescriptor.
* MetaModel.cs: no longer uses local cache for description
providers. Uses TypeDescriptor.{Add,Get}Provider now.
* MetaColumn.cs: fixed Scaffold to match tests - IsGenerated and
IsCustomProperty take precedence over Table.ScaffoldAllTables.
GetDataFieldAttribute doesn't use AttributeCollection indexer, as
the latter would create a default instance of the requested
attribute, which is not what we want here.
2009-06-23 Marek Habersack <[email protected]>
* ValidationAttribute.cs: error message must not ever be empty.
* UIHintAttribute.cs: do not throw NIEX from the constructor.
* DataTypeAttribute.cs: implemented correct DisplayFormat
intialization for DataType.Time.
* AssociatedMetadataTypeTypeDescriptor.cs: implemented retrieving
attributes of the associated metadata type, as well as merging of
attribute collections between metadata and main type properties.
* AssociatedMetadataTypePropertyDescriptor.cs: added. Helper class
which merges attributes from the metadata type (if any) with those
associated with property from the "main" type.
2009-06-23 Marek Habersack <[email protected]>
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypePropertyDescriptor.cs
2009-06-23 Marek Habersack <[email protected]>
* TypeDescriptor.cs: do not wrap DefaultTypeDescriptionProvider.
Implemented GetAttributes and GetProperties in
DefaultTypeDescriptor.
* AttributeCollection.cs: make sure that attrList is never null.
svn path=/trunk/mcs/; revision=136732