Re: [Firebird-net-provider] EF - last inserted ID is 0

2017-08-28 Thread Mr. John via Firebird-net-provider
Hi.I'm using Db first and as I found that is about code firstIf I'm wrong please someone give me some tips about using thatthanks. From: Jiří Činčura To: "firebird-net-provider@lists.sourceforge.net" Sent: Monday, August 28, 2017, 2:48:44 PM GMT+3Subject: Re: [Firebird-net-provider] EF - last

Re: [Firebird-net-provider] EF - last inserted ID is 0

2017-08-28 Thread Jiří Činčura
Why so complex. Just use https://msdn.microsoft.com/en-us/library/system.data.entity.modelconfiguration.configuration.primitivepropertyconfiguration.hasdatabasegeneratedoption(v=vs.113).aspx and that's it. You should consider you entities store agnostic, in fact. -- Mgr. Jiří Činčura https://www.

Re: [Firebird-net-provider] EF - last inserted ID is 0

2017-08-28 Thread Mr. John via Firebird-net-provider
Hiit seems to work only if I go to edmx,on ID filed and set StoreGeneratedPatern = Identitybut I use  DbFirst and this could be replaced on model update from dbI've tried using partial class with no success in my model generated code I have something like this:namespace POSweb.Models {

[Firebird-net-provider] [FB-Tracker] Created: (DNET-780) Serializable attribute for .NET Standard 1.6

2017-08-28 Thread Jiri Cincura (JIRA)
Serializable attribute for .NET Standard 1.6 Key: DNET-780 URL: http://tracker.firebirdsql.org/browse/DNET-780 Project: .NET Data provider Issue Type: Improvement Components: ADO.NET Pro

[Firebird-net-provider] [FB-Tracker] Created: (DNET-779) Support for op_crypt_key_callback for encrypted databases

2017-08-28 Thread Jiri Cincura (JIRA)
Support for op_crypt_key_callback for encrypted databases - Key: DNET-779 URL: http://tracker.firebirdsql.org/browse/DNET-779 Project: .NET Data provider Issue Type: New Feature

[Firebird-net-provider] [FB-Tracker] Created: (DNET-778) .NET Standard 2.0 support

2017-08-28 Thread Jiri Cincura (JIRA)
.NET Standard 2.0 support - Key: DNET-778 URL: http://tracker.firebirdsql.org/browse/DNET-778 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider, NuGet packages Repo