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.CslaDesignerDataSourceView Class Reference

Object responsible for providing details about data binding to a specific CSLA .NET object. More...

Inheritance diagram for Csla.Web.Design.CslaDesignerDataSourceView:

Public Member Functions

 CslaDesignerDataSourceView (CslaDataSourceDesigner owner, string viewName)
 Creates an instance of the object. More...
 
override IEnumerable GetDesignTimeData (int minimumRows, out bool isSampleData)
 Returns a set of sample data used to populate controls at design time. More...
 

Properties

override IDataSourceViewSchema Schema [get]
 Returns schema information corresponding to the properties of the CSLA .NET business object. More...
 
override bool CanRetrieveTotalRowCount [get]
 Get a value indicating whether data binding can retrieve the total number of rows of data. More...
 
override bool CanDelete [get]
 Get a value indicating whether data binding can directly delete the object. More...
 
override bool CanInsert [get]
 Get a value indicating whether data binding can directly insert an instance of the object. More...
 
override bool CanUpdate [get]
 Get a value indicating whether data binding can directly update or edit the object. More...
 
override bool CanPage [get]
 Gets a value indicating whether the data source supports paging. More...
 
override bool CanSort [get]
 Gets a value indicating whether the data source supports sorting. More...
 

Detailed Description

Object responsible for providing details about data binding to a specific CSLA .NET object.

Definition at line 21 of file CslaDesignerDataSourceView.cs.

Constructor & Destructor Documentation

◆ CslaDesignerDataSourceView()

Csla.Web.Design.CslaDesignerDataSourceView.CslaDesignerDataSourceView ( CslaDataSourceDesigner  owner,
string  viewName 
)

Creates an instance of the object.

Definition at line 29 of file CslaDesignerDataSourceView.cs.

Member Function Documentation

◆ GetDesignTimeData()

override IEnumerable Csla.Web.Design.CslaDesignerDataSourceView.GetDesignTimeData ( int  minimumRows,
out bool  isSampleData 
)

Returns a set of sample data used to populate controls at design time.

Parameters
minimumRowsMinimum number of sample rows to create.
isSampleDataReturns True if the data is sample data.

Definition at line 43 of file CslaDesignerDataSourceView.cs.

Property Documentation

◆ CanDelete

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanDelete
get

Get a value indicating whether data binding can directly delete the object.

If this returns true, the web page must handle the DeleteObject event.

Definition at line 142 of file CslaDesignerDataSourceView.cs.

◆ CanInsert

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanInsert
get

Get a value indicating whether data binding can directly insert an instance of the object.

If this returns true, the web page must handle the InsertObject event.

Definition at line 171 of file CslaDesignerDataSourceView.cs.

◆ CanPage

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanPage
get

Gets a value indicating whether the data source supports paging.

Definition at line 216 of file CslaDesignerDataSourceView.cs.

◆ CanRetrieveTotalRowCount

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanRetrieveTotalRowCount
get

Get a value indicating whether data binding can retrieve the total number of rows of data.

Definition at line 109 of file CslaDesignerDataSourceView.cs.

◆ CanSort

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanSort
get

Gets a value indicating whether the data source supports sorting.

Definition at line 228 of file CslaDesignerDataSourceView.cs.

◆ CanUpdate

override bool Csla.Web.Design.CslaDesignerDataSourceView.CanUpdate
get

Get a value indicating whether data binding can directly update or edit the object.

If this returns true, the web page must handle the UpdateObject event.

Definition at line 196 of file CslaDesignerDataSourceView.cs.

◆ Schema

override IDataSourceViewSchema Csla.Web.Design.CslaDesignerDataSourceView.Schema
get

Returns schema information corresponding to the properties of the CSLA .NET business object.

All public properties are returned except for those marked with the Browsable attribute as False.

Definition at line 95 of file CslaDesignerDataSourceView.cs.