コード例 #1
0
        public void ResolveEntitySetFromExpressionCanResolveStaticEntitySets()
        {
            var expression = new EdmEntitySetReferenceExpression(HardCodedTestModel.GetLionSet());
            var result     = EntitySetExpressionResolver.ResolveEntitySetFromExpression(expression);

            result.Should().Be(HardCodedTestModel.GetLionSet());
        }
コード例 #2
0
        public void ResolveEntitySetFromExpressionResolvesNullToNull()
        {
            var result = EntitySetExpressionResolver.ResolveEntitySetFromExpression(null);

            result.Should().BeNull();
        }