Class LanguageDataSource
Provides LanguageBranch data to DataBoundControl implementations.
Inheritance
System.Object
LanguageDataSource
Implements
Inherited Members
GenericDataSource<LanguageBranch, LanguageBranchCollection, String>.CreateItem(List<LanguageBranch>)
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Web.WebControls.dll
Version: 11.20.7Syntax
public class LanguageDataSource : GenericDataSource<LanguageBranch, LanguageBranchCollection, string>, IDataSourceMethods
Constructors
LanguageDataSource()
Declaration
public LanguageDataSource()
Properties
KeyName
Declaration
protected override string KeyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.KeyName
Methods
CreateItem(List<LanguageBranch>)
Declaration
protected override LanguageBranch CreateItem(List<LanguageBranch> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<LanguageBranch> | items |
Returns
Type | Description |
---|---|
LanguageBranch |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.CreateItem(System.Collections.Generic.List<EPiServer.DataAbstraction.LanguageBranch>)
DeleteItem(LanguageBranch)
Declaration
protected override void DeleteItem(LanguageBranch item)
Parameters
Type | Name | Description |
---|---|---|
LanguageBranch | item |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.DeleteItem(EPiServer.DataAbstraction.LanguageBranch)
ListItems()
Declaration
protected override List<LanguageBranch> ListItems()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<LanguageBranch> |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.ListItems()
LoadItem(String)
Declaration
protected override LanguageBranch LoadItem(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
LanguageBranch |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.LoadItem(System.String)
SaveItem(LanguageBranch)
Declaration
protected override void SaveItem(LanguageBranch item)
Parameters
Type | Name | Description |
---|---|---|
LanguageBranch | item |
Overrides
EPiServer.Web.WebControls.GenericDataSource<EPiServer.DataAbstraction.LanguageBranch, EPiServer.DataAbstraction.LanguageBranchCollection, System.String>.SaveItem(EPiServer.DataAbstraction.LanguageBranch)