On 25-3-2016 17:23, LtColRDSChauhan wrote:
> Mark, thanks for your help.
> I was using FBackup.
>
> FbStreamingBackup if you want to backup to your local machine.
>
> Using FbStreamingBackup solved my problem.
> But the ServiceOutput event handler is now not getting called.
That is expected,
>
> Message: 4
> Date: Wed, 23 Mar 2016 14:43:25 +0100
> From: Mark Rotteveel
> Subject: Re: [Firebird-net-provider] How to backup the remote database
> to a local hard disk
> To: "For users and developers of the Firebird .NET providers"
>
EF context is implementation of unit-of-work pattern, it is not
repository pattern.
> d) Do I need to dispose the the context on closing the window?
Not only on that. you should create and dispose context for every
action you do with a database: insert, delete, update, query etc.
> 3. As
> a) Is the method described above considered as good practice?
From what you've written, yes.
> b) Basically it is a connected Context until the user refreshes the data.
> In
> this case the context is recreated.
No problem with that.
> c) In order to manage multiuser environment, do I need
Hello all,
I am using EF 6.0 with Firebird 4.10 and have same questions about best
practices. It is an WPF/MVVM application that runs in a multiuser
environment.
1. There is a static class to create the connection string
AppGlobals