test/Shared/FunctionalTests/ProductivityApi/WriteEdmxTests.cs
/// <summary>
/// Not really testing that the EDMX is correct, just that a sanity check
/// that the string has something in it. Testing that the EDMX is correct
/// should be done at the EdmLib/EdmxSerializer level.
/// </summary>
Not really testing that the EDMX is correct, just that a sanity check
that the string has something in it. Testing that the EDMX is correct
should be done at the EdmLib/EdmxSerializer level.
Not really testing that the EDMX is correct just that a sanity check that the string has something in it . Testing that the EDMX is correct should be done at the EdmLib / EdmxSerializer level .
private void SanityCheckEdmx(StringBuilder edmxBuilder)
        {
            var edmx = edmxBuilder.ToString();
            Assert.True(edmx.Contains("EntitySet Name=\"Products\""));
            Assert.True(edmx.Contains("EntitySet Name=\"Categories\""));
        }
private void SanityCheckEdmx ( StringBuilder edmxBuilder ) { var edmx = edmxBuilder . ToString ( ) ; Assert . True ( edmx . Contains ( " \" \" " ) ) ; Assert . True ( edmx . Contains ( " \" \" " ) ) ; }
Not really testing that the EDMX is correct, just that a sanity check
that the string has something in it.
Not really testing that the EDMX is correct just that a sanity check that the string has something in it .
edmxBuilder
StringBuilder