xSQL.Schema.SqlServer.Filter Namespace : EntityFilterGroup Class |
'Declaration Public NotInheritable Class EntityFilterGroup Implements IEntityFilterEvaluator
public sealed class EntityFilterGroup : IEntityFilterEvaluator
public __gc __sealed class EntityFilterGroup : public IEntityFilterEvaluator
A group contains one or multiple filter conditions combined with an operator:
An object is checked against the group by calling the Match method. If the Match() method returns true, the specified object is excluded from schema compare operations.
EntityFilter viewFilter = new EntityFilter(SqlEntityTypeEnum.View); EntityFilterGroup group = new EntityFilterGroup(viewFilter); // combines the conditions in the group with the OR operator group.ConditionOperator = EntityFilterOperatorEnum.OR; // add the group conditions group.Conditions.Add(new EntityNameFilterCondition("temp", EntityFilterConditionTypeEnum.StartingWith, group)); group.Conditions.Add(new EntityNameFilterCondition("tmp", EntityFilterConditionTypeEnum.EndingWith, group)); viewFilter.Groups.Add(group);
System.Object
xSQL.Schema.SqlServer.Filter.EntityFilterGroup
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2