public void FilterNullPropagationTrueAllProperties() { var result = OpenType.CreateQueryWithAllProperties().OData(c => c.QuerySettings.HandleNullPropagation = OData.Query.HandleNullPropagationOption.True).Filter("Name1 eq 'n1'").ToArray(); Assert.Single(result); }
public void FilterNullPropagationFalseAllPropertiesNotExistingProperty() { var result = OpenType.CreateQueryWithAllProperties().OData(c => c.QuerySettings.HandleNullPropagation = OData.Query.HandleNullPropagationOption.False).Filter("Name3 eq 'n3'").ToArray(); Assert.Empty(result); }
public void FilterDefaultAllProperties() { var result = OpenType.CreateQueryWithAllProperties().OData().Filter("Name1 eq 'n1'").ToArray(); Assert.Single(result); }