C# Class DotNetNuke.Modules.Xml.Parameters.ParameterController

Mostrar archivo Open project: DNNCommunity/DNN.XML Class Usage Examples

Public Methods

Method Description
AddParameter ( ParameterInfo parameter ) : void

Creates a new object in the data store.

DeleteParameter ( ParameterInfo key ) : void

Removes an existing object from the data store.

ExportProviderSettings ( int moduleId, XmlWriter writer, string providerName ) : void
GetParameter ( ParameterInfo key ) : ParameterInfo

Retrieves an existing object from the data store.

GetParameters ( int moduleId ) : ParameterList

Retrieves a collection of objects from the data store.

ImportProviderSettings ( int moduleId, XmlNode settingsNode, string providerName ) : void
ParameterController ( ) : System.Data
ParameterController ( string purpose ) : System.Data
UpdateParameter ( ParameterInfo parameter ) : void

Updates an existing object in the data store.

Private Methods

Method Description
FillParameterInfo ( IDataReader objreader ) : ParameterInfo

Method Details

AddParameter() public method

Creates a new object in the data store.
public AddParameter ( ParameterInfo parameter ) : void
parameter ParameterInfo Parameter object.
return void

DeleteParameter() public method

Removes an existing object from the data store.
public DeleteParameter ( ParameterInfo key ) : void
key ParameterInfo Parameter identifier.
return void

ExportProviderSettings() public static method

public static ExportProviderSettings ( int moduleId, XmlWriter writer, string providerName ) : void
moduleId int
writer System.Xml.XmlWriter
providerName string
return void

GetParameter() public method

Retrieves an existing object from the data store.
public GetParameter ( ParameterInfo key ) : ParameterInfo
key ParameterInfo Parameter identifier.
return ParameterInfo

GetParameters() public method

Retrieves a collection of objects from the data store.
public GetParameters ( int moduleId ) : ParameterList
moduleId int Module identifier.
return ParameterList

ImportProviderSettings() public static method

public static ImportProviderSettings ( int moduleId, XmlNode settingsNode, string providerName ) : void
moduleId int
settingsNode System.Xml.XmlNode
providerName string
return void

ParameterController() public method

public ParameterController ( ) : System.Data
return System.Data

ParameterController() public method

public ParameterController ( string purpose ) : System.Data
purpose string
return System.Data

UpdateParameter() public method

Updates an existing object in the data store.
public UpdateParameter ( ParameterInfo parameter ) : void
parameter ParameterInfo Parameter object.
return void