コード例 #1
0
        protected override InsertStatement <TestEntity> CreateStatement(IStatementExecutor statementExecutor,
                                                                        IEntityMapper entityMapper,
                                                                        IWritablePropertyMatcher writablePropertyMatcher,
                                                                        ISelectClauseBuilder selectClauseBuilder,
                                                                        IFromClauseBuilder fromClauseBuilder,
                                                                        IWhereClauseBuilder whereClauseBuilder,
                                                                        ISqlConnectionProvider connectionProvider)
        {
            var statement =
                new InsertStatement <TestEntity>(statementExecutor, entityMapper, writablePropertyMatcher);

            statement.UseConnectionProvider(connectionProvider);
            return(statement);
        }