Ejemplo n.º 1
0
 .SwitchIf(
     _ => CustomFields.Count > 0,
     ifTrue: x => Builder.AddWhereCustomFields(x, CustomFields)
     );
Ejemplo n.º 2
0
 .SwitchIf(
     x => string.IsNullOrEmpty(x.name),
     ifTrue : _ => F.None <(string, PropertyInfo)>(new M.UnableToGetColumnFromAliasMsg(table, columnAlias))
Ejemplo n.º 3
0
 .SwitchIf(
     _ => Taxonomies.Count > 0,
     ifTrue: x => Builder.AddWhereTaxonomies(x, Taxonomies)
     )
 .SwitchIf(
Ejemplo n.º 4
0
 .SwitchIf(
     _ => CountAtLeast > 0,
     ifTrue: x => Builder.AddWhereCount(x, CountAtLeast)
     );