Esempio n. 1
0
        public void OperationTypeIsSameCollectionTypeAsWithBaseBindingShouldReturnFalse()
        {
            EdmAction action = new EdmAction("n", "a", null, true, null);

            action.AddParameter("bindingParameter", DefaultDerivedValidCollectionEntityTypeRef);
            action.HasEquivalentBindingType(DefaultValidCollectionEntityTypeRef.Definition).Should().BeFalse();
        }
Esempio n. 2
0
        public void OperationTypeIsSameAsBindingShouldReturnTrue()
        {
            EdmAction action = new EdmAction("n", "a", null, true, null);

            action.AddParameter("bindingParameter", DefaultValidEntityTypeRef);
            action.HasEquivalentBindingType(DefaultValidEntityType).Should().BeTrue();
        }