in

CodeSmith Community

Your Code. Your Way. Faster!

Code-behind inheritance, views, and documentation

Last post 04-18-2007 1:25 PM by Bill Sorensen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-17-2007 12:20 PM

    Code-behind inheritance, views, and documentation

    1. Support for inheritance in code-behind files, so we don't have to (a) create a project and build an assembly for the base class, or (b) use KellyCoinGuy's hack and throw base classes in the same file with descendant classes.

    Example:

    public class MyCodeTemplate : MyCodeTemplateBase

    Have it look for MyCodeTemplateBase.cs in the current directory (or possibly a SearchPath attribute).

    2. Better support for views.  TabularObjectBase and DataObjectBase don't provide enough functionality.  For example, there's no TabularObject property on DataObjectBase, and no DataObject[] property on TabularObjectBase.  Our company uses views and tables almost interchangeably.

    3. Improved documentation.  The API reference is incomplete, code behind is not explained well, the tutorials do not cover many of the features, etc.  You've got a great product.  Hire a great technical writer to show it off. 

    • Post Points: 5
  • 04-18-2007 1:25 PM In reply to

    Re: Code-behind inheritance, views, and documentation

    To expand on lack of view support, neither ColumnSchemaCollection nor ViewColumnSchemaCollection inherit from DataObjectBaseCollection.  This is a major annoyance.
    • Post Points: 5
Page 1 of 1 (2 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems