CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Web.Design.ObjectViewSchema Class Reference

Object providing schema information for a business object. More...

Inheritance diagram for Csla.Web.Design.ObjectViewSchema:

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...
 

Detailed Description

Object providing schema information for a business object.

Definition at line 25 of file ObjectViewSchema.cs.

Constructor & Destructor Documentation

◆ ObjectViewSchema()

Csla.Web.Design.ObjectViewSchema.ObjectViewSchema ( CslaDataSourceDesigner  site,
string  typeName 
)

Create an instance of the object.

Parameters
siteSite containing the control.
typeNameThe business class for which to generate the schema.

Definition at line 36 of file ObjectViewSchema.cs.

Member Function Documentation

◆ GetChildren()

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.

◆ GetFields()

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.

Property Documentation

◆ Name

string Csla.Web.Design.ObjectViewSchema.Name
get

Returns the name of the schema.

Definition at line 101 of file ObjectViewSchema.cs.