コード例 #1
0
 public TranslateEngine(SchemaInfo sourceSchemaInfo, SchemaInfo targetSchemaInfo, DbInterpreter sourceInterpreter, DbInterpreter targetInerpreter, DbConverterOption option = null, string targetDbOwner = null)
 {
     this.sourceSchemaInfo  = sourceSchemaInfo;
     this.targetSchemaInfo  = targetSchemaInfo;
     this.sourceInterpreter = sourceInterpreter;
     this.targetInerpreter  = targetInerpreter;
     this.targetDbOwner     = targetDbOwner;
     this.option            = option;
 }
コード例 #2
0
        public DbConverter(DbConveterInfo source, DbConveterInfo target, DbConverterOption option)
        {
            this.Source = source;
            this.Target = target;

            if (option != null)
            {
                this.Option = option;
            }

            this.Init();
        }