| SqlIdFilterHelperTBuildWhereClause Method (String) |
Builds a where-clause based on a query template.
Namespace:
Omada.OE.AppLogic.Helpers
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic void BuildWhereClause(
string queryTemplate
)
Parameters
- queryTemplate
- Type: SystemString
Template query.
Must contain: <temptable>join $temptable$ on Id = bar</temptable>
and must contain: <idin>where/and foo.bar in ($delimids$)</idin>
Example:
exists (select 1 from tbldataobjectsecurity dos
<temptable>join $temptable$ on $temptable$.Id = dos.usergroupid</temptable>
where dos.dataobjectid = do.securityobjectid
<idin>and dos.usergroupid in ($delimids$)</idin>
and dos.readaccess = 1)
See Also