DynamicQueryEngineBaseCheckSelectListAndPersistenceInfoForSelect Method |
Checks the specified select list and fieldspersistenceinfo and throws exceptions when an inconsistency is detected.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxprotected static void CheckSelectListAndPersistenceInfoForSelect(
IEntityFieldCore[] selectList,
IFieldPersistenceInfo[] fieldsPersistenceInfo
)
Protected Shared Sub CheckSelectListAndPersistenceInfoForSelect (
selectList As IEntityFieldCore(),
fieldsPersistenceInfo As IFieldPersistenceInfo()
)
Parameters
- selectList
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The select list to check - fieldsPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
the fields persistence info to check
ExceptionsException | Condition |
---|
ArgumentNullException | if the select list is null or the fieldspersistenceinfo is null |
ArgumentException | if the select list has a length of 0 or the fieldspersistenceinfo has a length of 0 |
ORMQueryConstructionException | if the length of the select list differs from the fieldpersistenceinfo length. They should match |
See Also