Files
mono/mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations.dll.sources
T
Marek Habersack d9f9fea847 2009-06-23 Marek Habersack <[email protected]>
* 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
2009-06-23 18:38:38 +00:00

22 lines
1.2 KiB
Plaintext

../../build/common/Consts.cs
../../build/common/Locale.cs
../../build/common/MonoTODOAttribute.cs
Assembly/AssemblyInfo.cs
System.ComponentModel.DataAnnotations/AssociatedMetadataTypePropertyDescriptor.cs
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptionProvider.cs
System.ComponentModel.DataAnnotations/DataType.cs
System.ComponentModel.DataAnnotations/DataTypeAttribute.cs
System.ComponentModel.DataAnnotations/DisplayColumnAttribute.cs
System.ComponentModel.DataAnnotations/DisplayFormatAttribute.cs
System.ComponentModel.DataAnnotations/MetadataTypeAttribute.cs
System.ComponentModel.DataAnnotations/RangeAttribute.cs
System.ComponentModel.DataAnnotations/RegularExpressionAttribute.cs
System.ComponentModel.DataAnnotations/RequiredAttribute.cs
System.ComponentModel.DataAnnotations/ScaffoldColumnAttribute.cs
System.ComponentModel.DataAnnotations/ScaffoldTableAttribute.cs
System.ComponentModel.DataAnnotations/StringLengthAttribute.cs
System.ComponentModel.DataAnnotations/UIHintAttribute.cs
System.ComponentModel.DataAnnotations/ValidationAttribute.cs
System.ComponentModel.DataAnnotations/ValidationException.cs