net9.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class JsonTypesTestBase : NonSharedModelTestBase
{
[ConditionalTheory]
[InlineData(new[] { "0001-01-01T00:00:00.0000000-01:00", "{\"Prop\":\"0001-01-01 00:00:00-01:00\"}" })]
[InlineData(new[] { "9999-12-31T23:59:59.9999999+02:00", "{\"Prop\":\"9999-12-31 23:59:59.9999999\\u002B02:00\"}" })]
[InlineData(new[] { "0001-01-01T00:00:00.0000000-03:00", "{\"Prop\":\"0001-01-01 00:00:00-03:00\"}" })]
[InlineData(new[] { "2023-05-29T11:11:15.5672854+04:00", "{\"Prop\":\"2023-05-29 11:11:15.5672854\\u002B04:00\"}" })]
[InlineData(new[] { null, "{\"Prop\":null}" })]
public virtual Task! Can_read_write_nullable_DateTimeOffset_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. |