Subject Re: [firebird-support] Basic Start
Author Clyde Eisenbeis

Here is what I'm attempting:

    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"
    FbConnection.CreateDatabase(connectionString, pageSize, forcedWrites, overwrite);

This code throughs a exception ... complains about fbclient.dll.  I'm not sure what to use for Client Library.

On Tue, Mar 14, 2017 at 4:42 PM, Slavomir Skopalik skopalik@... [firebird-support] <> wrote:

Yes, look here:

public static void CreateDatabase(string connectionString, int pageSize = 4096, bool forcedWrites = true, bool overwrite = false)
CreateDatabaseImpl(connectionS tring, pageSize, forcedWrites, overwrite);
} As connection string you can use file name. Look for example here: questions/41980813/firebird- net-provider-and-embedded- server-3/41981523 Slavek

2) Can I create a Firebird database file? ... as I did with SQLite ...
System.Data.SQLite. SQLiteConnection.CreateFile( stPathFilename) where
the filename ends with .sqlite.