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