net9.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class JsonTypesTestBase : NonSharedModelTestBase
{
[ConditionalTheory]
[InlineData(new[] { "127.0.0.1", "{\"Prop\":\"127.0.0.1\"}" })]
[InlineData(new[] { "0.0.0.0", "{\"Prop\":\"0.0.0.0\"}" })]
[InlineData(new[] { "255.255.255.255", "{\"Prop\":\"255.255.255.255\"}" })]
[InlineData(new[] { "192.168.1.156", "{\"Prop\":\"192.168.1.156\"}" })]
[InlineData(new[] { "::1", "{\"Prop\":\"::1\"}" })]
[InlineData(new[] { "::", "{\"Prop\":\"::\"}" })]
[InlineData(new[] { "2a00:23c7:c60f:4f01:ba43:6d5a:e648:7577", "{\"Prop\":\"2a00:23c7:c60f:4f01:ba43:6d5a:e648:7577\"}" })]
[InlineData(new[] { null, "{\"Prop\":null}" })]
public virtual Task! Can_read_write_nullable_IP_address_as_string_JSON_values(string? value, string! json);
}
}
.NET | 9.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.EntityFrameworkCore.Specification.Tests , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Specification.Tests (9.0.0) net9.0 |
Platform Restrictions | This API is supported on all platforms. |