Class StaticIBValueProvider
Stores possible selectable fvalue for the ItemBoxSelectionProvider
Inheritance
System.Object
StaticIBValueProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class StaticIBValueProvider
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 |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | Row represented as list of columns |