1 2009-06-27 Marek Habersack <mhabersack@novell.com>
3 * DynamicDataExtensions.cs: implemented ConvertEditedValue
5 * MetaModel.cs: implemented DynamicDataFolderVirtualPath
7 * DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
8 GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
9 guessed at implementation of CreateHandler.
11 2009-06-26 Marek Habersack <mhabersack@novell.com>
13 * MetaModel.cs: RegisterContextCore preserves already registered
16 * DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
17 route data from the routes collection (if the matching route
18 happened to be an instance of DynamicDataRoute it would initialize
19 its RouteHandler's Model property, which is not correct, according
20 to tests). Instead a new RouteData instance is created each time
21 we don't find any cached context.
23 * DynamicDataRoute.cs: the associated route handler is set its
24 Model property when we initialize for the first time.
25 GetRouteData checks whether route data returned by base class
26 relates to a table which exists in the current context. If no such
27 table exists, null is returned.
29 2009-06-25 Marek Habersack <mhabersack@novell.com>
31 * MetaTable.cs: Fixes to make tests succeed.
33 * MetaModel.cs: added the GetDataFieldAttributes method for
34 retrieving attributes associated with data type/field.
35 Fixes to make tests succeed.
37 * MetaColumn.cs: refactoring - use
38 MetaModel.GetDataFieldAttributes instead of the local version.
40 * DynamicDataRouteHandler.cs: implemented GetRequestContext,
43 * DynamicDataRoute.cs: when the Action and Table properties are
44 set before one of GetVirtualPath or GetRouteData methods are
45 called for the first time, a check is made whether the Defaults
46 collection exists and whether it contains entries for Action and
47 Table. Initialization code makes sure those entries are inserted
48 into the dictionary in those cases.
50 2009-06-23 Marek Habersack <mhabersack@novell.com>
52 * MetaTable.cs: constructor now takes ContextConfiguration instead
53 of a boolean and uses the config to determine value of the
54 ScaffoldAllTables property. Also, if context config is present,
55 makes sure to register the associated type description provider
56 (if any) with TypeDescriptor.
58 * MetaModel.cs: no longer uses local cache for description
59 providers. Uses TypeDescriptor.{Add,Get}Provider now.
61 * MetaColumn.cs: fixed Scaffold to match tests - IsGenerated and
62 IsCustomProperty take precedence over Table.ScaffoldAllTables.
63 GetDataFieldAttribute doesn't use AttributeCollection indexer, as
64 the latter would create a default instance of the requested
65 attribute, which is not what we want here.
67 2009-06-17 Marek Habersack <mhabersack@novell.com>
69 * MetaTable.cs: fixed Scaffold implementation.
70 Added internal ScaffoldAllTables property.
72 * MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
74 Implemented IsLongString, IsBinaryData, IsReadOnly,
75 NullDisplayText, RequiredErrorMessage
77 2009-06-16 Marek Habersack <mhabersack@novell.com>
79 * DynamicDataManager.cs, DynamicDataExtensions.cs: use new
80 DataBoundControl.DataSourceObject instead of
81 InternalGetDataSource.
83 2009-06-15 Marek Habersack <mhabersack@novell.com>
85 * MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
86 ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
87 DefaultValue, Description, DisplayName, IsRequired,
88 IsFloatingPoint, IsInteger, IsString, TypeCode
90 * MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
91 associated entity type attributes.
93 * MetaModel.cs: implemented registration of type metadata
94 cache. Metadata is provided by a set of TypeDescriptionProvider
95 instances (if ContextConfig is present for given model provider)
96 or by default type description provider (note that this
97 functionality is not implemented in
98 System.ComponentModel.TypeDescriptor yet!).
100 2009-06-12 Marek Habersack <mhabersack@novell.com>
102 * MetaTable.cs: implemented correct detection of foreign key
104 Implemented IsReadOnly, SortColumn, SortDescending.
106 2009-06-10 Marek Habersack <mhabersack@novell.com>
108 * MetaTable.cs: fixed DisplayName implementation.
109 Implemented GetPrimaryKeyString, GetQuery.
111 2009-06-09 Marek Habersack <mhabersack@novell.com>
113 * MetaTable.cs: implemented more overloads of GetActionPath.
114 Implemented GetPrimaryKeyValues, GetActionPathFromRoutes,
115 Attributes, DisplayColumn, GetDisplayString.
117 2009-06-01 Marek Habersack <mhabersack@novell.com>
119 * MetaModel.cs: GetModel throws InvalidOperationException on
121 Implemented GetActionPath and GetTable.
123 2009-04-29 Marek Habersack <mhabersack@novell.com>
125 * MetaTable.cs: implemented the DataContextType,
126 DataContextPropertyName properties and the ToString method.
128 * MetaColumn.cs: implemented the Scaffold, DisplayName,
129 SortExpression, UIHint properties and the ToString method.
131 * DynamicField.cs: implemented
133 * DynamicDataManager.cs: partially implemented RegisterControl.
134 Added internal AutoFieldGenerator class, used by RegisterControl
135 when dealing with GridView.
136 Implemented some properties.
138 * DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
140 * DynamicControl.cs: implemented parts of the class.
142 2009-04-23 Marek Habersack <mhabersack@novell.com>
144 * ContextConfiguration.cs: implemented all the methods and added a
145 parameterless constructor.
147 2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
149 * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs:
150 ongoing implementation; resolve to page templates.
152 2008-10-17 Atsushi Enomoto <atsushi@ximian.com>
154 * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
155 MetaModel.cs : ongoing implementation.
157 2008-10-16 Atsushi Enomoto <atsushi@ximian.com>
159 * DynamicDataManager.cs, DynamicDataRoute.cs,
160 FieldTemplateFactory.cs, MetaChildrenColumn.cs,
161 MetaColumn.cs, MetaForeignKeyColumn.cs, MetaModel.cs, MetaTable.cs:
162 ongoing implementation.
164 2008-10-14 Atsushi Enomoto <atsushi@ximian.com>
166 *.cs : initial checkin. stubs.