Class StaticIBValueProvider
Stores possible selectable fvalue for the ItemBoxSelectionProvider
Inheritance
System.Object
StaticIBValueProvider
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class StaticIBValueProvider : object
Constructors
| Improve this Doc View SourceStaticIBValueProvider(String, String, Object[])
Create new provider
Declaration
public StaticIBValueProvider(string sqlStatement, string connectionStringName = "Default", params object[] parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | sqlStatement | Sql-Statement which fills the possible values |
| System.String | connectionStringName | Name of the connection string. Default value is |
| System.Object[] | parameter | List of possible parameter |
Methods
| Improve this Doc View SourceGetByKey(String, Object)
Get row by it#sa primary key value
Declaration
public IDictionary<string, object> GetByKey(string keyName, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | keyName | Name of the primary key |
| System.Object | value | Value of the primary key |
Returns
| Type | Description |
|---|---|
| IDictionary<System.String, System.Object> | Row represented as list of columns |