Binds list control.
Note: Returned collection of lookup values is Cached
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static void BindListControl(
Type factoryType,
ListControl list,
IEntityField2 displayFieldName,
IEntityField2 valueFieldName,
bool noPreference,
string preferenceValue,
IRelationPredicateBucket bucket,
IDataAccessAdapter adapter
) |
Visual Basic |
---|
Public Shared Sub BindListControl (
factoryType As Type,
list As ListControl,
displayFieldName As IEntityField2,
valueFieldName As IEntityField2,
noPreference As Boolean,
preferenceValue As String,
bucket As IRelationPredicateBucket,
adapter As IDataAccessAdapter
) |
Visual C++ |
---|
public:
static void BindListControl(
Type^ factoryType,
ListControl^ list,
IEntityField2^ displayFieldName,
IEntityField2^ valueFieldName,
bool noPreference,
String^ preferenceValue,
IRelationPredicateBucket^ bucket,
IDataAccessAdapter^ adapter
) |
F# |
---|
static member BindListControl :
factoryType : Type *
list : ListControl *
displayFieldName : IEntityField2 *
valueFieldName : IEntityField2 *
noPreference : bool *
preferenceValue : string *
bucket : IRelationPredicateBucket *
adapter : IDataAccessAdapter -> unit
|
Parameters
- factoryType
- Type: System..::..Type
LLBLGen EntityFactoryType
- list
- Type: System.Web.UI.WebControls..::..ListControl
List control
- displayFieldName
- Type: IEntityField2
Data text field
- valueFieldName
- Type: IEntityField2
Data value field
- noPreference
- Type: System..::..Boolean
Set to True if No preference is needed (Value = Guid.Empty)
- preferenceValue
- Type: System..::..String
No preference Text
- bucket
- Type: IRelationPredicateBucket
IRelationPredicateBucket Filter
- adapter
- Type: IDataAccessAdapter
Data adapter
See Also