Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace DBSync
- {
- class FireBird
- {
- Config config;
- public FireBird(Config config)
- {
- this.config = config;
- }
- string connectionString =
- "User=SYSDBA;" +
- "Password=masterkey;" +
- "Database=" + config
- "DataSource=localhost;" +
- "Port=3050;" +
- "Dialect=3;" +
- "Charset=NONE;" +
- "Role=;" +
- "Connection lifetime=15;" +
- "Pooling=true;" +
- "MinPoolSize=0;" +
- "MaxPoolSize=50;" +
- "Packet Size=8192;" +
- "ServerType=0";
- namespace DBSync
- {
- public class Config
- {
- string fbLogin;
- string fbPass;
- string fbPath;
- string PGLogin;
- string PGPass;
- string SQLLitePath;
- public void parseConfig()
- {
- public FireBird(Config config)
- {
- this.config = config;
- this.connectionStroing = "..."+
- "..."+this.config+
- "..."
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement