Example #1
0
        //----------------------------------------------------------------------
        public UlFirebird(FbServerType type = FbServerType.Default)
        {
            connect             = new FbConnection();
            connectStrings      = new FbConnectionStringBuilder();
            command             = new FbCommand("", connect);
            command.Transaction = null;
            dataAdapter         = new FbDataAdapter("", connect);
            trans = null;

            connectStrings.Clear();
            connectStrings.DataSource = "";
            connectStrings.Database   = "";
            connectStrings.UserID     = "SYSDBA";
            connectStrings.Password   = "******";
            connectStrings.Charset    = "NONE";
            connectStrings.Dialect    = 3;
            connectStrings.Port       = 3050;
            connectStrings.Pooling    = false;
            connectStrings.ServerType = type;
        }