c# - Error with Linq to Firebird Embedded (EF6.1 code first) -


i'm getting unknown data type error firebird embedded when try use linq query context.

it seems fail when linq generates parameterized query send database; if value hard-coded, works fine. also, fails on code first database; if create database first, works. however, i'm trying learn code first creating database isn't option.

using (var context = new firebirddbcontext(connectionstring)) {     context.users.add(new user()     {         created = datetime.now,         name = "smith"     });     context.savechanges();      bool found = context.users.any(u => u.name == "smith");    // works     string name = "smith";     found = context.users.any(u => u.name == name);    // exception } 

the rest of application same in other post except i'm using entity framework 6.1.0. in fact, error same too, cause different.

i'd surprised if bug in firebird library (and don't see listed in bug tracker). know i'm doing wrong?

edit: bug still occurs firebird ado.net provider (for entity framework 6) version 4.1.5.0.

there few information.

try mapping tables , columns names uppercase, using totable , hascolumnname in fluent mappings.

when did of weird errors gone away when validating compatibility of entity framework , firebird 2.5 embeded.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -