public SqlExpBase(SqlAdapterType adater, Type entityType)
 {
     _type       = SqlType.Query;
     _adapter    = adater;
     _entityType = entityType;
     _builder    = new Builder.Builder(_type, entityType, AdapterFactory.GetAdapterInstance(_adapter));
     _resolver   = new LambdaResolver(_builder);
 }
        public SqlExpBase(SqlAdapterType adater, SqlTableDefine tableDefine, List <SqlColumnDefine> columnDefines)
        {
            _type    = SqlType.Query;
            _adapter = adater;

            _builder  = new Builder.Builder(_type, tableDefine, columnDefines, AdapterFactory.GetAdapterInstance(_adapter));
            _resolver = new LambdaResolver(_builder);
        }
Example #3
0
 public SqlExpBase(SqlAdapterType adater, Type entityType, string specialSchema)
 {
     _type       = SqlType.Query;
     _adapter    = adater;
     _entityType = entityType;
     SqlAdapter  = AdapterFactory.GetAdapterInstance(_adapter);
     _builder    = new Builder.Builder(_type, entityType, SqlAdapter, specialSchema);
     //_builder = new Builder.Builder(_type, entityType, AdapterFactory.GetAdapterInstance(_adapter));
     _resolver = new LambdaResolver(_builder);
 }
 internal SqlExp(Builder.Builder builder, LambdaResolver resolver)
 {
     _builder  = builder;
     _resolver = resolver;
 }