Пример #1
0
        public SqlDataWritter(SqlConnection connection, string tableName, string primaryKey = null)
        {
            _connection = connection;

            _tableName = tableName;

            _primaryKey = primaryKey;

            _sqlInserOrUpdateQueryBuilder = new SQLInserOrUpdateQueryBuilder(_tableName, PrimaryKey);
        }
Пример #2
0
        public SqlDataWritter(SqlConnection connection, string tableName, string primaryKey = null)
        {
            _connection = connection;

            _tableName = tableName;

            _primaryKey = primaryKey;

            _sqlInserOrUpdateQueryBuilder = new SQLInserOrUpdateQueryBuilder(_tableName, PrimaryKey);
        }