ChangeLog 5.9 KB

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