[Failed] Try to implement NativeAOT support.
Add: NativeAOT support with EF Core. However failed for compiled binary throw Exception in queries. Wait for a stable support for NativeAOT. Add: document for intergration EF Core with NativeAOT.
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using OptixServe.Core.Models;
|
||||
|
||||
#pragma warning disable 219, 612, 618
|
||||
#nullable disable
|
||||
|
||||
namespace OptixServe.Infrastructure.Data.CompiledModels
|
||||
{
|
||||
public static class UserUnsafeAccessors
|
||||
{
|
||||
[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "<Id>k__BackingField")]
|
||||
public static extern ref string Id(User @this);
|
||||
|
||||
[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "<Password>k__BackingField")]
|
||||
public static extern ref string Password(User @this);
|
||||
|
||||
[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "<PrivilegeGroup>k__BackingField")]
|
||||
public static extern ref PrivilegeGroup PrivilegeGroup(User @this);
|
||||
|
||||
[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "<UserName>k__BackingField")]
|
||||
public static extern ref string UserName(User @this);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user