Search found 2 matches

by lonwern
Mon 09 Apr 2018 09:59
Forum: dotConnect for Oracle
Topic: 9.5.483 does not work on linux.
Replies: 6
Views: 12658

9.5.483 does not work on linux.

Error stacks:

Code: Select all

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.Win32.Registry' threw an exception. ---> System.PlatformNotSupportedException: Registry is not supported on this platform.
   at Microsoft.Win32.RegistryKey.OpenBaseKeyCore(RegistryHive hKey, RegistryView view)
   at Microsoft.Win32.Registry..cctor()
   --- End of inner exception stack trace ---
...
Environment: ubuntu 16.04, .net core 2.0, ef core 2.0.
And the previous version (9.5.454) works fine.
by lonwern
Wed 29 Nov 2017 09:27
Forum: dotConnect for Oracle
Topic: v9.5.399, ef core, bool type causes Exception ORA-00920
Replies: 2
Views: 1060

v9.5.399, ef core, bool type causes Exception ORA-00920

this happens on both net461 and netcoreapp2.0

code:

Code: Select all

dbContext.Users.Where(u => u.IsActive).ToList()
entity:

Code: Select all

public class User
{
    public string UserName { get; set; }
    public string Password { get; set; }
    public bool IsActive { get; set; }
}
generated sql:

Code: Select all

SELECT "u"."UserName", "u"."IsActive", "u"."Password"
FROM "Users" "u"
WHERE "u"."IsActive"