public void SetUp () { _generator = new UniqueIdentifierGenerator (); _stage = new DefaultSqlPreparationStage ( CompoundMethodCallTransformerProvider.CreateDefault(), ResultOperatorHandlerRegistry.CreateDefault(), _generator); _handler = new FirstResultOperatorHandler (); _sqlStatementBuilder = new SqlStatementBuilder (SqlStatementModelObjectMother.CreateSqlStatement ()) { DataInfo = new StreamedSequenceInfo (typeof (Cook[]), Expression.Constant (new Cook ())) }; _context = SqlStatementModelObjectMother.CreateSqlPreparationContext (); }
public void SetUp() { _generator = new UniqueIdentifierGenerator(); _stage = new DefaultSqlPreparationStage( CompoundMethodCallTransformerProvider.CreateDefault(), ResultOperatorHandlerRegistry.CreateDefault(), _generator); _handler = new FirstResultOperatorHandler(); _sqlStatementBuilder = new SqlStatementBuilder(SqlStatementModelObjectMother.CreateSqlStatement()) { DataInfo = new StreamedSequenceInfo(typeof(Cook[]), Expression.Constant(new Cook())) }; _context = SqlStatementModelObjectMother.CreateSqlPreparationContext(); }