Object providing schema information for a business object. More...
Public Member Functions | |
ObjectViewSchema (CslaDataSourceDesigner site, string typeName) | |
Create an instance of the object. More... | |
System.Web.UI.Design.IDataSourceViewSchema[] | GetChildren () |
Returns a list of child schemas belonging to the object. More... | |
System.Web.UI.Design.IDataSourceFieldSchema[] | GetFields () |
Returns schema information for each property on the object. More... | |
Properties | |
string | Name [get] |
Returns the name of the schema. More... | |
Object providing schema information for a business object.
Definition at line 25 of file ObjectViewSchema.cs.
Csla.Web.Design.ObjectViewSchema.ObjectViewSchema | ( | CslaDataSourceDesigner | site, |
string | typeName | ||
) |
Create an instance of the object.
site | Site containing the control. |
typeName | The business class for which to generate the schema. |
Definition at line 36 of file ObjectViewSchema.cs.
System.Web.UI.Design.IDataSourceViewSchema[] Csla.Web.Design.ObjectViewSchema.GetChildren | ( | ) |
Returns a list of child schemas belonging to the object.
This schema object only returns schema for the object itself, so GetChildren will always return Nothing (null in C#).
Definition at line 49 of file ObjectViewSchema.cs.
System.Web.UI.Design.IDataSourceFieldSchema[] Csla.Web.Design.ObjectViewSchema.GetFields | ( | ) |
Returns schema information for each property on the object.
All public properties on the object will be reflected in this schema list except for those properties where the Browsable attribute is False.
Definition at line 64 of file ObjectViewSchema.cs.
|
get |
Returns the name of the schema.
Definition at line 101 of file ObjectViewSchema.cs.