t) I've tried FbConnection.CreateDatabase ... using info from StackOverflow:
int pageSize = 4096;
bool forcedWrites = true;
bool overwrite = false;
var connectionString = new FbConnectionStringBuilder
{
Database = stPathFilename,
ServerType = FbServerType.Embedded,
UserID = "SYSDBA",
Password = "masterkey",
ClientLibrary = "fbclient.dll"
}.ToString();
FbConnection.CreateDatabase(connectionString, pageSize,
forcedWrites, overwrite);
I had presumed this is standard, except for the stPathFilename.
However, this code throughs an exception ... complains about
fbclient.dll. I'm not sure what to use for Client Library.
On Wed, Mar 15, 2017 at 1:54 PM, Jiří Činčura <[email protected]> wrote:
>> FirebirdSql.Data.FirebirdClient.5.8.0 subdir ... with Firebird .dll's.
>
> To be precise, it's provider, not Firebird.
>
>> 1) Was the the correct procedure?
>
> Yes.
>
>> 2) How do I create a Firebird database file? ... as I did with SQLite
>> ... System.Data.SQLite.SQLiteConnection.CreateFile(stPathFilename)
>> where the filename ends with .sqlite.
>
> FbConnection.CreateDatabase.
>
> --
> Mgr. Jiří Činčura
> https://www.tabsoverspaces.com/
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider