TableDefinitionBase..::..HasLookupDefinition Method
Sets this table's default lookup definition.
Namespace:
RingSoft.DbLookup.ModelDefinitionAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public TableDefinitionBase HasLookupDefinition( LookupDefinitionBase lookupDefinition )
Public Function HasLookupDefinition ( _ lookupDefinition As LookupDefinitionBase _ ) As TableDefinitionBase
public: TableDefinitionBase^ HasLookupDefinition( LookupDefinitionBase^ lookupDefinition )
Parameters
- lookupDefinition
- Type: RingSoft.DbLookup.Lookup..::..LookupDefinitionBase
The lookup definition.
Return Value
TableDefinitionBase.Exceptions
Exception | Condition |
---|---|
ArgumentException | Lookup's table definition '{lookupDefinition.TableDefinition}' does not match this table definition. ({this}) |