Class ObjectStoreDataSource<T>
Inheritance
System.Object
ObjectStoreDataSource<T>
Assembly: EPiServer.Web.WebControls.dll
Version: 8.11.0
Syntax
public abstract class ObjectStoreDataSource<T> : DataSourceControl where T : IItem, new()
Type Parameters
Constructors
ObjectStoreDataSource()
Declaration
protected ObjectStoreDataSource()
Properties
RootItem
Declaration
protected IItem RootItem { get; }
Property Value
RootPath
Declaration
public string RootPath { get; protected set; }
Property Value
Type |
Description |
System.String |
|
SelectParameters
Declaration
public ParameterCollection SelectParameters { get; }
Property Value
Type |
Description |
System.Web.UI.WebControls.ParameterCollection |
|
View
Declaration
public ObjectStoreDataSourceView<T> View { get; }
Property Value
ViewNames
Declaration
public virtual string[] ViewNames { get; }
Property Value
Type |
Description |
System.String[] |
|
Methods
CreateControlCollection()
Declaration
protected override ControlCollection CreateControlCollection()
Returns
Type |
Description |
System.Web.UI.ControlCollection |
|
Delete(IDictionary)
Declaration
public virtual int Delete(IDictionary values)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
values |
|
Returns
Type |
Description |
System.Int32 |
|
GetId(IDictionary, ISession)
Declaration
protected Guid GetId(IDictionary values, ISession session)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
values |
|
ISession |
session |
|
Returns
Type |
Description |
System.Guid |
|
GetItem(IDictionary, ISession)
Declaration
protected T GetItem(IDictionary values, ISession session)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
values |
|
ISession |
session |
|
Returns
GetView(String)
Declaration
protected override DataSourceView GetView(string viewName)
Parameters
Type |
Name |
Description |
System.String |
viewName |
|
Returns
Type |
Description |
System.Web.UI.DataSourceView |
|
GetViewNames()
Declaration
protected override ICollection GetViewNames()
Returns
Type |
Description |
System.Collections.ICollection |
|
Insert(IDictionary)
Declaration
public virtual int Insert(IDictionary values)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
values |
|
Returns
Type |
Description |
System.Int32 |
|
LoadViewState(Object)
Declaration
protected override void LoadViewState(object savedState)
Parameters
Type |
Name |
Description |
System.Object |
savedState |
|
OnInit(EventArgs)
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
SaveViewState()
Declaration
protected override object SaveViewState()
Returns
Type |
Description |
System.Object |
|
Select()
Declaration
public virtual IEnumerable Select()
Returns
Type |
Description |
System.Collections.IEnumerable |
|
TrackViewState()
Declaration
protected override void TrackViewState()
Update(IDictionary, IDictionary)
Declaration
public virtual int Update(IDictionary values, IDictionary oldValues)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
values |
|
System.Collections.IDictionary |
oldValues |
|
Returns
Type |
Description |
System.Int32 |
|